help-gnu-utils
[Top][All Lists]
Advanced

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

Re: how can I teminate the process of make under some conditions?


From: clino
Subject: Re: how can I teminate the process of make under some conditions?
Date: 6 Apr 2006 03:15:35 -0700
User-agent: G2/0.2

hmm....now I get another question.

my make file write as this:
---
A_SUPPORT          =  TRUE        # A scheme
B_SUPPORT          =  TRUE        # B scheme,now B scheme not allow
true together with A

ifneq ($(strip $(A_SUPPORT)),TRUE)
        $(error the A_SUPPORT should not true with B_SUPPORT
endif
---
but when I run make,it echo:
my.mak:1026: *** commands commence before first target.  Stop.

It seem that my make syntax not suitable.But I just want to "assert"
fail in some condition...



reply via email to

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