On 1/15/18, Dan Wilcox <danomat...@gmail.com> wrote: >> On Jan 15, 2018, at 11:21 PM, katja <katjavet...@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>
That's interesting, didn't know that. Still I guess you have more flexibility with plain make since you control all variables being used in a rule. > > -------- > Dan Wilcox > @danomatika <http://twitter.com/danomatika> > danomatika.com <http://danomatika.com/> > robotcowboy.com <http://robotcowboy.com/> > > > > _______________________________________________ Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev