[PD-dev] configure + makefiles

katja katjavetter at gmail.com
Tue Jan 16 01:11:41 CET 2018


On 1/15/18, Dan Wilcox <danomatika at gmail.com> wrote:
>> 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>

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/>
>
>
>
>



More information about the Pd-dev mailing list