You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
344 B
25 lines
344 B
5 years ago
|
GOC=go build
|
||
|
GOFLAGS=-a -ldflags '-s'
|
||
|
CGOR=CGO_ENABLED=0
|
||
|
|
||
|
|
||
|
all: stat reclist
|
||
|
|
||
|
run:
|
||
|
go run \
|
||
|
nethack-launcher.go
|
||
|
|
||
|
stat:
|
||
|
mkdir -p bin/
|
||
|
$(CGOR) $(GOC) $(GOFLAGS) -o bin/nethack-launcher nethack-launcher.go
|
||
|
|
||
|
reclist:
|
||
|
mkdir -p bin/
|
||
|
gcc -static deps/reclist.c -o bin/reclist
|
||
|
|
||
|
dependencies:
|
||
|
go get github.com/gorilla/mux
|
||
|
|
||
|
clean:
|
||
|
rm -rf bin/
|