BIN?=jnfilter PREFIX?=/usr/local BINDIR?=$(PREFIX)/bin OUT=./bin/$(BIN) SERVER=./main.go GO_BUILD=go build -v -ldflags '-w -s' GO_RUN=go run -v all: build install: build install -Dm755 $(OUT) $(BINDIR)/$(BIN) build: $(GO_BUILD) -o $(OUT) . compress: build upx -1 $(OUT) compress_into_oblivion: build upx --best --ultra-brute $(OUT) run: $(GO_RUN) . series: $(GO_RUN) . series