%% Suman Ojha <[EMAIL PROTECTED]> writes:

  so> ifeq ($BUILD),DEBUG)

You're missing an open paren here; it should be:

    ifeq ($(BUILD),DEBUG)
        ...

  so> I have also tried other syntax like the following:

  so> if [ ${BUILD} == DEBUG ] ; then \

No, this is shell syntax.  You can only use that within command scripts
(lines after a rule that start with a TAB) since those are passed to the
shell.  Make doesn't grok shell syntax.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to