[Top][All Lists]
[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
- Fwd: looking for a good example of non-recursive Make using project, (continued)
Re: looking for a good example of non-recursive Make using project, Stefano Lattarini, 2012/11/17
Re: looking for a good example of non-recursive Make using project, Bob Friesenhahn, 2012/11/17
Re: looking for a good example of non-recursive Make using project, NightStrike, 2012/11/19
Re: looking for a good example of non-recursive Make using project,
Alexis Praga <=
Re: looking for a good example of non-recursive Make using project, Miles Bader, 2012/11/22