15 lines
228 B
Makefile
15 lines
228 B
Makefile
|
GCFLAGS :=
|
||
|
LDFLAGS :=
|
||
|
|
||
|
.PHONY: install
|
||
|
install:
|
||
|
@go install -v .
|
||
|
|
||
|
.PHONY: test
|
||
|
test:
|
||
|
@go test -gcflags='$(GCFLAGS)' -ldflags='$(LDFLAGS)' .
|
||
|
|
||
|
.PHONY: bench
|
||
|
bench:
|
||
|
@go test -gcflags='$(GCFLAGS)' -ldflags='$(LDFLAGS)' -bench .
|