2024-05-19 04:17:38 +00:00
|
|
|
.PHONY: examples
|
|
|
|
|
|
|
|
default: run
|
|
|
|
|
|
|
|
run: simgame
|
|
|
|
|
|
|
|
simgame: examples
|
|
|
|
./bin/simgame
|
|
|
|
|
|
|
|
clean:
|
2024-05-19 05:11:26 +00:00
|
|
|
rm -rf bin *.test
|
2019-03-24 03:59:45 +00:00
|
|
|
|
|
|
|
test:
|
2024-05-19 03:26:08 +00:00
|
|
|
go test -v -count=1 ./...
|
2024-05-19 04:17:38 +00:00
|
|
|
|
|
|
|
examples:
|
|
|
|
test -d bin || mkdir bin
|
|
|
|
go build -o bin/ ./examples/...
|