I have the following example :
INCLUDE := -Idogs -Ipigs -Isheep -Irats

PC_TO_O = @echo $$(INCLUDE:-I=include\=)

.PHONY : x

define x
x : ; $(PC_TO_O)
endef
$(eval $(call x))



It need to print out
include=dogs include=pigs include=sheep include=rats


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to