box-o-sand/algs4/Makefile
Dan Buch 6ebbf04980 Re-namespacing one more time to get sources back in the same tree.
I dunno...  this whole thing should be its own repo, probably.  Meh.
2012-12-19 22:33:46 -05:00

25 lines
410 B
Makefile

REPO_BASE := github.com/meatballhat/box-o-sand/algs4/src/go
TARGETS := \
$(REPO_BASE)/algs4 \
$(REPO_BASE)/algs4-binarysearch \
$(REPO_BASE)/algs4-flips \
$(REPO_BASE)/algs4-gcd \
$(REPO_BASE)/algs4-rolls
test: build
go test -x $(TARGETS)
build: deps
go install -x $(TARGETS)
fmt:
go fmt -x $(TARGETS)
deps:
go get -x -n $(TARGETS)
clean:
go clean -x -x $(TARGETS)
.PHONY: test build clean fmt