jnfilter @ c110c8aaf3cf4c2762e7a3a52ad30623d00f9da3

 1BIN?=jnfilter
 2PREFIX?=/usr/local
 3BINDIR?=$(PREFIX)/bin
 4
 5OUT=./bin/$(BIN)
 6SERVER=./main.go
 7
 8GO_BUILD=go build -v -ldflags '-w -s'
 9GO_RUN=go run -v
10all: build
11
12install: build
13	install -Dm755 $(OUT) $(BINDIR)/$(BIN)
14
15build:
16	$(GO_BUILD) -o $(OUT) $(SERVER)
17
18compress: build
19	upx -1 $(OUT)
20
21compress_into_oblivion: build
22	upx --best --ultra-brute $(OUT)
23
24run: sass tmpl
25	$(GO_RUN) $(SERVER)
26