[PD-dev] configure + makefiles

Dan Wilcox danomatika at gmail.com
Mon Jan 15 23:35:47 CET 2018


> On Jan 15, 2018, at 11:21 PM, katja <katjavetter at 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/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20180115/e8508b22/attachment.html>


More information about the Pd-dev mailing list