From d46c73ae6fbbdf55070d86b1b508a6095ca9a6ca Mon Sep 17 00:00:00 2001 From: Solly Ross Date: Mon, 26 Jun 2017 16:29:36 -0400 Subject: [PATCH] [build] mark phony targets as such This commit marks the phony targets in the Makefile as phony, following good Makefile practices (for example, so we don't have have issues with someone creating a file with a matching name in the future, etc). --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 969964a5..b60221a7 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,8 @@ ifeq ($(ARCH),s390x) BASEIMAGE?=s390x/busybox endif +.PHONY: all build docker-build push-% push test + all: build build: vendor CGO_ENABLED=0 GOARCH=$(ARCH) go build -a -tags netgo -o $(OUT_DIR)/$(ARCH)/adapter github.com/directxman12/k8s-prometheus-adapter/cmd/adapter