GOC=go build GOFLAGS=-a -ldflags '-s' CGOR=CGO_ENABLED=0 all: stat reclist run: go run \ nethack-score.go stat: mkdir -p bin/ $(CGOR) $(GOC) $(GOFLAGS) -o bin/nethack-score nethack-score.go reclist: mkdir -p bin/ gcc -static deps/reclist.c -o bin/reclist test: bin/nethack-score -recordlocation deps/record -reclistlocation bin/reclist dependencies: go get github.com/gorilla/mux go get github.com/unixvoid/glogger clean: rm -rf bin/