help-make
[Top][All Lists]
Advanced

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

Simple Makefile problem


From: Mike Pelley
Subject: Simple Makefile problem
Date: Tue, 28 Aug 2001 09:01:07 -0400

I wish to use $(error TEXT) to fall out of the makefile if some checks
fail.  Using make 3.79.1 I tried the following:

MIKE := x
ifeq "$(MIKE)" "x"
$error(no good)
endif

all:
        echo hi


This fails on the $(error) line with "missing seperator".  I have seen a
lot of mention of this in my google searches but I cannot match any of
those to my problem.

How can I generate an error at that location?

Thanks!  Mike.



reply via email to

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