Makefile 228 B

1234567891011121314
  1. GCFLAGS :=
  2. LDFLAGS :=
  3. .PHONY: install
  4. install:
  5. @go install -v .
  6. .PHONY: test
  7. test:
  8. @go test -gcflags='$(GCFLAGS)' -ldflags='$(LDFLAGS)' .
  9. .PHONY: bench
  10. bench:
  11. @go test -gcflags='$(GCFLAGS)' -ldflags='$(LDFLAGS)' -bench .