box-o-sand/conway/Makefile

25 lines
419 B
Makefile
Raw Normal View History

LIBS := \
github.com/meatballhat/box-o-sand/conway
TARGETS := \
$(LIBS) \
github.com/meatballhat/box-o-sand/conway/conways-game-of-life
all: test
test: build
go test -x -v -test.parallel=4 $(LIBS)
build: web_assets.go deps
go install -x $(TARGETS)
web_assets.go: $(wildcard web_assets/*.*)
./gen-web-assets
clean:
go clean -x -i $(TARGETS)
deps:
go get -n -x $(TARGETS)
.PHONY: all build clean deps test