Commit 928cdf97 authored by Jordan Sissel's avatar Jordan Sissel

Let 'go install' figure out when to rebuild

parent 206e03ed
......@@ -66,11 +66,14 @@ build/bin/keygen: bin/keygen | build/bin
cp bin/keygen build/bin/keygen
bin/lumberjack: pkg/linux_amd64/github.com/alecthomas/gozmq.a
bin/lumberjack: src/*/*.go
bin/lumberjack:
go install -ldflags '-r $$ORIGIN/../lib' lumberjack
bin/keygen: src/*/*.go
bin/keygen:
go install -ldflags '-r $$ORIGIN/../lib' keygen
# Mark these phony; 'go install' takes care of knowing how and when to rebuild.
.PHONY: bin/keygen bin/lumberjack
# gozmq
src/github.com/alecthomas/gozmq/zmq.go:
go get -d github.com/alecthomas/gozmq
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment