target: dependency <commands>
target: make dependency <commands>
Here's a "proper" Makefile, complete with conditionals, expansion, etc.:
https://github.com/rcarmo/sushy/blob/master/Makefile
...and here's one of my Go Makefiles (no sub-targets here, but does vendoring in a way that's quite similar to what Go 1.5 turned out to adopt)
https://github.com/rcarmo/go-rss2imap/blob/master/Makefile
(edit: whitespace)
One of my Makefiles: https://github.com/liveplant/liveplant-server/blob/master/Ma...
Definitely open to feedback on the above. Seems like my Makefile doing pretty much the same thing as yours @rcarmo.
Here's a "proper" Makefile, complete with conditionals, expansion, etc.:
https://github.com/rcarmo/sushy/blob/master/Makefile
...and here's one of my Go Makefiles (no sub-targets here, but does vendoring in a way that's quite similar to what Go 1.5 turned out to adopt)
https://github.com/rcarmo/go-rss2imap/blob/master/Makefile
(edit: whitespace)