[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Choosing between several rules for a single targed based on prerequisite
From: |
Yannick Patois |
Subject: |
Choosing between several rules for a single targed based on prerequisites avaibility |
Date: |
Tue, 07 Jun 2005 11:31:29 +0200 |
User-agent: |
Mozilla Thunderbird (X11/20050324) |
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 |
- Choosing between several rules for a single targed based on prerequisites avaibility,
Yannick Patois <=