[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: need help with the Makefile
From: |
Paul D. Smith |
Subject: |
RE: need help with the Makefile |
Date: |
Fri, 9 Sep 2005 14:52:54 -0400 |
%% 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 <address@hidden> 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
- need help with the Makefile, ravi_murdeshwar, 2005/09/07
- RE: need help with the Makefile, ravi_murdeshwar, 2005/09/08
- RE: need help with the Makefile, ravi_murdeshwar, 2005/09/08
- RE: need help with the Makefile, Darin Johnson, 2005/09/09
- RE: need help with the Makefile, ravi_murdeshwar, 2005/09/09
- RE: need help with the Makefile, ravi_murdeshwar, 2005/09/09
- RE: need help with the Makefile, ravi_murdeshwar, 2005/09/12