[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [st-hackers] Re: makefile mysteries
- To: mulix <mulix(at-nospam)actcom.co.il>
- Subject: Re: [st-hackers] Re: makefile mysteries
- From: guy keren <choo(at-nospam)actcom.co.il>
- Date: Sat, 8 Sep 2001 18:13:30 +0300 (EET DST)
- cc: Tzafrir Cohen <tzafrir(at-nospam)technion.ac.il>, st-hackers <syscalltrack-hackers(at-nospam)lists.sourceforge.net>, <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <Pine.LNX.4.33.0109081711550.15426-100000@alhambra.merseine.nu>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Sat, 8 Sep 2001, mulix wrote:
>
> oh, this could be exactly what i need (couldn't find something like this
> earlier). let's see... nope, cant find it. where exactly did you see it?
> it's not under 'Functions' or in the index. i'm using the info pages
> from make-3.77.
here is a makefile that works properly:
----------------------------------------------------------------
ifeq "$(KERNEL_DIR)" ""
$(error "'KERNEL_DIR' variable not defined. Please look at 'COMPILING'")
else
$(shell /bin/echo "hello")
endif
all:
echo "blu blu; KERNEL_DIR - $(KERNEL_DIR)"
-----------------------------------------------------------------
run it when 'KERNEL_DIR' is not defined, and see it 'Stop'.
[choo@simey ~/test]$ make --version
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
--
guy
"For world domination - press 1,
or dial 0, and please hold, for the creator." -- nob o. dy
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il