Makefile 372 B

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