diff --git a/Makefile b/Makefile index f0b49cd..6137b0d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ BIN ?= cchat-gtk + GO ?= go +STRIP ?= strip PREFIX ?= /usr/local BINDIR ?= $(PREFIX)/bin @@ -7,7 +9,7 @@ DATADIR ?= $(PREFIX)/share cchat-gtk: $(GO) build -v -o bin/$(BIN) - @strip bin/$(BIN) + @$(STRIP) bin/$(BIN) install: install -Dm775 bin/$(BIN) $(DESTDIR)$(BINDIR)/$(BIN) @@ -22,4 +24,4 @@ uninstall: clean: rm -rf bin/ -.PHONY: cchat-gtk \ No newline at end of file +.PHONY: cchat-gtk