box-o-sand/conway/Makefile
Dan Buch f86855d22d Externalizing web assets
mostly to ease editing, but also for practice with file manipulation,
gzipping, base64'ing, etc.
2012-12-18 21:56:37 -05:00

25 lines
419 B
Makefile

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