%% "clino" <[EMAIL PROTECTED]> writes:

  c> just like the "die" in perl
  c> -------------------
  c>    if (length ($str) <= 64)
  c>    {
  c>       print "ok,go on"
  c>    }
  c>    else
  c>    {
  c>       die "bad param";
  c>    }
  c>   print "go on"
  c> -------------------

  c> how can I make the makefile act like this,die and exit...?

Look up the $(error ...) function in the GNU make manual.

-- 
-------------------------------------------------------------------------------
 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-gnu-utils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to