|
From: | David A. Greene |
Subject: | Conditionals in define |
Date: | Sun, 29 Jul 2007 17:15:59 -0500 |
User-agent: | KMail/1.9.5 |
Why does this print: bye hello ? test.mk: define test_impl ifeq (hello,bye) $(info bye) else $(info hello) endif endef test = $(eval $(call test_impl)) $(call test) all: % make -f test.mk This is GNU make 3.81. -Dave
[Prev in Thread] | Current Thread | [Next in Thread] |