[EMAIL PROTECTED] wrote:
Is it possible to echo anything else within ifeq / endif block ?
ifeq ($(strip $(KVER)),)
$(error Please set KVER before running Make) endif
like
% cat t2.mak
ifeq ($(OS),linux)
@echo "OS = Linux"
Endif
How about...
ifeq ($(OS),linux)
$(warning OS is linux)
endif
(Note in a previous email Paul pointed out the $(shell echo ... 1&>2) is
the answer to your question about outputting information without giving
the Makefile name and line number; I was wrong when I said that wasn't
possible, silly me).
Reading through some of your questions can I gently suggest that you
reread the GNU Make documentation or the O'Reilly "Managing Projects
with GNU Make" book. You seem a little confused about Make syntax and
I think it would be good to read the first part of the O'Reilly book to
help get you up to speed.
John.
--
John Graham-Cumming
[EMAIL PROTECTED]
Home: http://www.jgc.org/
POPFile: http://getpopfile.org/
Sign up for my Spam and Anti-spam Newsletter
at http://www.jgc.org/
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make