%% Regarding RE: need help with the Makefile; you wrote:

  rm> Is it possible to echo anything else within ifeq / endif block ?

  rm> ifeq ($(strip $(KVER)),)
  rm> $(error Please set KVER before running Make)
  rm> endif

You can use the $(shell ...) function to echo some information:

  $(shell echo Please set KVER before running Make 1>&2)

just prints:

  Please set KVER before running Make


BUT!  This won't cause make to fail.  You can't stop make processing
without using $(error ...), which will always print the line number.

-- 
-------------------------------------------------------------------------------
 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