Refactor Makefiles

This commit is contained in:
Alexander Neumann 2014-08-06 20:09:41 +02:00
parent 16d7974b3f
commit 017426467b
2 changed files with 7 additions and 10 deletions

View File

@ -2,9 +2,13 @@
test:
go test
$(MAKE) -C cmd/khepri
test/run.sh cmd/khepri/khepri
for dir in cmd/* ; do \
(cd "$$dir"; go build) \
done
test/run.sh cmd/khepri/khepri cmd/dirdiff/dirdiff
clean:
go clean
$(MAKE) -C cmd/khepri test
for dir in cmd/* ; do \
(cd "$$dir"; go clean) \
done

View File

@ -1,7 +0,0 @@
.PHONY: clean all test
test:
go build
clean:
go clean