[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Makefile 'abort' command? / 'elseif' to go with ifeq/else/endif? (Ma
From: |
Maurizio Loreti |
Subject: |
Re: Makefile 'abort' command? / 'elseif' to go with ifeq/else/endif? (Make newbie) |
Date: |
22 Jan 2007 09:16:31 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
"LiquidEyes" <news@liquideyes.net> 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:ybergv@cq.vasa.vg | (@_
Un. of Padova, Dept. of Physics, Padova, Italy | //\
http://www.pd.infn.it/~loreti/mlo.html | V_/_