On Jan 15, 2018, at 11:21 PM, katja katjavetter@gmail.com wrote:
I don't know much about autotools, but I've always thought that you can't define your own (additional) targets in a makefile.am.
You definitely can. You can define your own targets, as we have done with some of the Makefiles in Pd ala "make app": https://github.com/pure-data/pure-data/blob/master/mac/Makefile.am#L19 https://github.com/pure-data/pure-data/blob/master/mac/Makefile.am#L19
You can't really override the default targets but you can extend them with *-local and/or *-hook : https://www.gnu.org/software/automake/manual/html_node/Extending.html https://www.gnu.org/software/automake/manual/html_node/Extending.html
-------- Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/