Makefile 194 B

12345678910111213141516171819
  1. DEST ?= /usr/bin/
  2. test:
  3. go test -v .
  4. build:
  5. cd cmd
  6. go build -o bin/gupta cmd/main.go
  7. run:
  8. ./bin/gupta -i 2
  9. install:
  10. install -m 755 bin/gupta $(DEST)
  11. uinnstall:
  12. rm -vi $(PATH)/gupta