define var1
echo tttt
echo pppp
endef
e12:
@echo "$(var1)"
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [e12] Error 2
-----------------------------------------
define var1
echo tttt
echo pppp
endef
e12:
@echo ""$(var1)""
echo tttt
pppp
-----------------------------------------
I am using make, v3.81. Why there is an error in the first example and
no error in the second case? How make resolves the cases?
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make