Makefile 405 B

12345678910111213141516171819
  1. .PHONY: help default clean httpx-static
  2. default: httpx-static
  3. clean:
  4. rm -f ./objs/httpx-static
  5. .format.txt: *.go
  6. gofmt -w .
  7. echo "done" > .format.txt
  8. httpx-static: ./objs/httpx-static
  9. ./objs/httpx-static: .format.txt *.go Makefile
  10. go build -mod=vendor -o objs/httpx-static .
  11. help:
  12. @echo "Usage: make [httpx-static]"
  13. @echo " httpx-static Make the httpx-static to ./objs/httpx-static"