Hi,

I have a target (A) that can be build either by applying a given rule on
a prerequisites (P1) or another rule on another prerequisites (P2).

I would like a Makefile that does:
- If only one of P1 or P2 exists, use the available rule to build it
- If both exists, use P1

Is there a way to say that in a Makefile?
I couldnt find anything about this.

Thanks,

        Yannick

-- 
 _/ Yannick Patois _________________ Address (home) __________________
| irc(undernet): Garp on #france25+ | 1, rue de Bale                   |
| http://garp.feelingsurfer.net/    | 67100 Strasbourg                 |
| Tel-home: +(33)(0)3 88 84 88 16   | FRANCE                           |


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to