Updated Makefile to build library and command separately

master
Aadhavan Srinivasan 3 days ago
parent 57eb935bd1
commit eeeb9387d5

@ -1,9 +1,11 @@
.DEFAULT_GOAL := build
.DEFAULT_GOAL := buildCmd
.PHONY: fmt vet build
fmt:
go fmt ./...
vet: fmt
go vet ./...
build: vet
buildLib: vet
go build -gcflags="-N -l" ./...
buildCmd: buildLib
go build -C cmd/ -o re ./...

Loading…
Cancel
Save