Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. export GOPATH := $(shell pwd)
  2.  
  3. CC := go build
  4. TARGETS := apitester
  5.  
  6. apitester:
  7. $(CC) -o $@ main.go jrequest.go config.go process_api.go
  8.  
  9. .PHONY: all clean run
  10.  
  11. all: $(TARGETS) run
  12.  
  13. clean:
  14. rm -f $(TARGETS)
  15.  
  16. run:
  17. ./$(TARGETS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement