Re: Makefile 'abort' command? / 'elseif' to go with ifeq/else/endif? (Make newbie)
Maurizio Loreti <[email protected]>
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Organization | I.N.F.N. Padova - CDF/CMS cluster |
| Message-ID | <[email protected]> |
"LiquidEyes" <[email protected]> writes: > 1. Is there an 'elseif' statement? (To go with ifeq/else/endif.) in GNU make, no. but you may use multiple $(if statements --- check the reference manual/ > 2. Is there a way to abort Make prematurely? (The equivalent of #error in > C.) in GNU make, yeah. check $(error in the manual. -- Maurizio Loreti ROT13:[email protected] | (@_ Un. of Padova, Dept. of Physics, Padova, Italy | //\ http://www.pd.infn.it/~loreti/mlo.html | V_/_