Minor fix to Makefile

This commit is contained in:
Thomas Roehl 2023-04-14 18:25:20 +02:00
parent 7c891e1593
commit e71e1b123b

View File

@ -2,13 +2,13 @@
APP = cc-metric-store APP = cc-metric-store
GOSRC_APP := cc-metric-store.go GOSRC_APP := cc-metric-store.go
GOSRC_FILES := api.go \ GOSRC_FILES := api.go \
memstore.go \ memstore.go \
archive.go \ archive.go \
debug.go \ debug.go \
float.go \ float.go \
lineprotocol.go \ lineprotocol.go \
selector.go \ selector.go \
stats.go stats.go
@ -18,7 +18,7 @@ BINDIR ?= bin
.PHONY: all .PHONY: all
all: $(APP) all: $(APP)
$(APP): $(GOSRC) $(APP): $(GOSRC) $(GOSRC_APP)
go get go get
go build -o $(APP) $(GOSRC_APP) $(GOSRC_FILES) go build -o $(APP) $(GOSRC_APP) $(GOSRC_FILES)