Skip to content

Commit 4e09c41

Browse files
committed
Makefile: let go determine when to compile
1 parent 01b7ede commit 4e09c41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ GO_SRCS := $(shell find . -type f -name '*.go' | grep -v '^\./vendor/' | sort -u
1515
.PHONY: all
1616
all: bin/git-sizer
1717

18-
bin/git-sizer: $(GO_SRCS)
18+
.PHONY: bin/git-sizer
19+
bin/git-sizer:
1920
mkdir -p bin
2021
$(GO) build $(GOFLAGS) -o $@ $(PACKAGE)/git-sizer
2122

0 commit comments

Comments
 (0)