Makefile 301 B

1234567891011121314151617181920212223242526
  1. GOPATH=${CURDIR}/.deps:${CURDIR}
  2. all:
  3. go build -o DIST/builder buildme/cmd/builder
  4. deps:
  5. go get -v buildme/cmd/builder
  6. dist:
  7. tar -c DIST |gzip >dist.tar.gz
  8. clean:
  9. rm -f dist.tar.gz
  10. rm -rf DIST
  11. distclean: clean
  12. rm -rf .deps
  13. rm -rf bin
  14. rm -rf pkg
  15. .PHONY: all deps clean distclean