From 90d984ef9a16bea6168542689a98748d00457152 Mon Sep 17 00:00:00 2001 From: baude Date: Thu, 14 Dec 2017 16:06:54 -0600 Subject: Use incremental go build Speed up kpod builds by not recompiling eveything but only what has changed. Signed-off-by: baude Closes: #139 Approved by: rhatdan --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7be742688..8784ba1e4 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ test/checkseccomp/checkseccomp: .gopathok $(wildcard test/checkseccomp/*.go) $(GO) build $(LDFLAGS) -tags "$(BUILDTAGS) containers_image_ostree_stub" -o $@ $(PROJECT)/test/checkseccomp kpod: .gopathok $(shell hack/find-godeps.sh $(GOPKGDIR) cmd/kpod $(PROJECT)) - $(GO) build $(LDFLAGS_KPOD) -tags "$(BUILDTAGS)" -o bin/$@ $(PROJECT)/cmd/kpod + $(GO) build -i $(LDFLAGS_KPOD) -tags "$(BUILDTAGS)" -o bin/$@ $(PROJECT)/cmd/kpod clean: ifneq ($(GOPATH),) -- cgit v1.2.3-54-g00ecf