diff options
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,9 +1,9 @@ -PREFIX ?= /usr/local -BINDIR ?= $(PREFIX)/bin +PREFIX ?=/usr/local +BINDIR ?=$(PREFIX)/bin BIN?=apkdoc OUT=./bin/$(BIN) GO_RUN?= go run -v -GO_BUILD?= go build -v +GO_BUILD?= go build -v -ldflags "-s -w" all: build @@ -15,8 +15,8 @@ build: -o $(OUT) \ . -install: build +install: install -Dm755 $(OUT) $(BINDIR)/$(BIN) -compress: build +compress: upx --best --ultra-brute $(OUT) |