mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-07-03 11:53:43 +02:00
Makefile: move build/.buildinfo target to build/$(PROGRAM_NAME)
This commit is contained in:
parent
ec3a9bfac7
commit
46fd016d10
1 changed files with 2 additions and 4 deletions
6
Makefile
6
Makefile
|
|
@ -12,13 +12,11 @@ DEPENDANCIES= github.com/firstrow/tcp_server \
|
||||||
github.com/pborman/getopt/v2
|
github.com/pborman/getopt/v2
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
build: build/$(PROGRAM_NAME) build/.buildinfo
|
build: build/$(PROGRAM_NAME)
|
||||||
|
|
||||||
build/$(PROGRAM_NAME) : $(SOURCES)
|
build/$(PROGRAM_NAME) : $(SOURCES)
|
||||||
$(GO) build -o $@ $(GOCCFLAGS) $(GOLDFLAGS) $^
|
$(GO) build -o $@ $(GOCCFLAGS) $(GOLDFLAGS) $^
|
||||||
|
$(GO) env > build/.buildinfo
|
||||||
build/.buildinfo:
|
|
||||||
$(GO) env > $@
|
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
$(GO) get $(DEPENDANCIES)
|
$(GO) get $(DEPENDANCIES)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue