From 6af6d4d23acdd3af7f93d8e64f26e64954c8a443 Mon Sep 17 00:00:00 2001 From: Matt Day <fjarlq@gmail.com> Date: Thu, 20 Aug 2015 06:04:06 -0600 Subject: [PATCH] Have $(BINARY) depend on the `deps` target This fixes `make build` on systems that haven't downloaded the dependencies yet. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3d6586c..699badf 100644 --- a/Makefile +++ b/Makefile @@ -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: