pokercore/Makefile

19 lines
210 B
Makefile

.PHONY: examples
default: run
run: simgame
simgame: examples
./bin/simgame
clean:
rm -rf bin *.test
test:
go test -v -count=1 ./...
examples:
test -d bin || mkdir bin
go build -o bin/ ./examples/...