Files
weave-scope/runner/Makefile
Tom Wilkie 8b52b10e38 Squashed 'tools/' content from commit 58c9a39
git-subtree-dir: tools
git-subtree-split: 58c9a390c5
2015-10-26 15:13:15 +00:00

12 lines
202 B
Makefile

.PHONY: all clean
all: runner
runner: *.go
go get -tags netgo ./$(@D)
go build -ldflags "-extldflags \"-static\" -linkmode=external" -tags netgo -o $@ ./$(@D)
clean:
rm -rf runner
go clean ./...