22 lines
341 B
Makefile
22 lines
341 B
Makefile
LIBS := \
|
|
github.com/meatballhat/box-o-sand/conway
|
|
TARGETS := \
|
|
$(LIBS) \
|
|
github.com/meatballhat/box-o-sand/conway/conways-game-of-life
|
|
|
|
all: deps build
|
|
|
|
build: test
|
|
go install -x $(TARGETS)
|
|
|
|
clean:
|
|
go clean -x -i $(TARGETS)
|
|
|
|
test:
|
|
go test -x -v -test.parallel=4 $(LIBS)
|
|
|
|
deps:
|
|
go get -x $(TARGETS)
|
|
|
|
.PHONY: all build clean deps test
|