Last active
June 4, 2017 23:16
-
-
Save marzocchi/482ccc4f0ba088aaef726f1978b03d93 to your computer and use it in GitHub Desktop.
`make build` done right
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build depends on bin/homework | |
build: bin/homework | |
# bin/homework depends on all .go files in this directory tree | |
bin/homework: $(shell find . -name '*.go' -not -path './vendor/*') | |
go build -o bin/homework main.go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment