1
0
Fork 0
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:
Henrik Hautakoski 2022-03-02 15:22:51 +01:00
parent ec3a9bfac7
commit 46fd016d10
No known key found for this signature in database
GPG key ID: 608414D93E862CCD

View file

@ -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)