automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: looking for a good example of non-recursive Make using project


From: Alexis Praga
Subject: Re: looking for a good example of non-recursive Make using project
Date: Tue, 20 Nov 2012 14:59:16 +0100

> You can reduce the pain by using variables:
>
> more = more
> prog_SOURCES += ${more}/file3.c ${more}/file4.c
>
> so that a rename now only has to touch the 'more =' line, rather than
> every use.
>
> This will generate a Makefile with two identical rules.
One for the folder
more/$(am__dirstamp):
the other for
${more}/$(am__dirstamp):

Then, the following warning ensues :
Makefile:471: warning: overriding recipe for target `src/.dirstamp'

How to get rid of that ?


-- 
Alexis Praga


reply via email to

[Prev in Thread] Current Thread [Next in Thread]