feat(makefile): add phony for build.
This commit is contained in:
parent
1ef90c8461
commit
cea2056d26
1
Makefile
1
Makefile
|
@ -104,6 +104,7 @@ install: $(SOURCES)
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: $(EXECUTABLE)
|
build: $(EXECUTABLE)
|
||||||
|
|
||||||
|
.PHONY: $(EXECUTABLE)
|
||||||
$(EXECUTABLE): $(SOURCES)
|
$(EXECUTABLE): $(SOURCES)
|
||||||
$(GO) build -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' -o release/$@
|
$(GO) build -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' -o release/$@
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue