Have $(BINARY) depend on the deps target

This fixes `make build` on systems that haven't downloaded the
dependencies yet.
This commit is contained in:
Matt Day 2015-08-20 06:04:06 -06:00
parent ebd08408d1
commit 6af6d4d23a

View File

@ -6,7 +6,7 @@ SRCS = %.go
all: $(BINARY)
$(BINARY): **/**/*.go **/*.go *.go
$(BINARY): deps **/**/*.go **/*.go *.go
go build -ldflags "-X main.buildCommit `git describe --long --tags --dirty --always`" ./cmd/ssh-chat
deps: