Dan Buch
f86855d22d
mostly to ease editing, but also for practice with file manipulation, gzipping, base64'ing, etc.
25 lines
419 B
Makefile
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
|