1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-16 04:44:55 +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
all: build
build: build/$(PROGRAM_NAME) build/.buildinfo
build: build/$(PROGRAM_NAME)
build/$(PROGRAM_NAME) : $(SOURCES)
$(GO) build -o $@ $(GOCCFLAGS) $(GOLDFLAGS) $^
build/.buildinfo:
$(GO) env > $@
$(GO) env > build/.buildinfo
deps:
$(GO) get $(DEPENDANCIES)