help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: need help with the Makefile


From: ravi_murdeshwar
Subject: RE: need help with the Makefile
Date: Fri, 9 Sep 2005 12:45:14 -0600

Hi John,

Is it possible to echo anything else within ifeq / endif block ?

ifeq ($(strip $(KVER)),)
$(error Please set KVER before running Make) endif

like

% cat t2.mak
ifeq ($(OS),linux)
  @echo "OS = Linux"
Endif

% make -f t2.mak
make: *** No targets.  Stop.



Thanks ..
-- 
Raviraj Murdeshwar.
408.553.4318

> -----Original Message-----
> From: John Graham-Cumming [mailto:address@hidden
> Sent: Friday, September 09, 2005 11:34 AM
> To: address@hidden
> Cc: address@hidden
> Subject: Re: need help with the Makefile
> 
> address@hidden wrote:
> > Is there any way to suppress the makefile name in the error output. I
> would like to just output as error.
> > "Error: Please set ARCH before running Make."
> 
> No.
> 
> John.
> --
> John Graham-Cumming
> address@hidden
> 
> Home: http://www.jgc.org/
> POPFile: http://getpopfile.org/
> 
> Sign up for my Spam and Anti-spam Newsletter
> at http://www.jgc.org/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]