RE: using $eval to include other makefiles

2015-07-29 Thread Rakesh Sharma
27; include) for compatibility with other makes, e.g., solaris Then you won't get to hear from gnu make even if file.mk didn't exist. Another way to accomplish in gnu make, an include by first ensuring the existence is: ifneq ($(strip $(wildcard file.mk)),)include file.mkendif HTH -Rak

RE: using $eval to include other makefiles

2015-07-23 Thread Rakesh Sharma
Let me quote from the GNU make manual on the "eval function". It says: The argument to the eval function is expanded, then the results of that expansion are parsed as makefile syntax. Now in this case, of $(eval include /path/to/file.mk)the two arguments to eval are the keyword include & the ful