help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

6 How to Use Variables


From: ali hagigat
Subject: 6 How to Use Variables
Date: Sun, 20 Feb 2011 07:31:24 +0330

"Variables and functions in all parts of a makefile are expanded when
read, except for
in recipes,.."
Variables are not expanded in recipes?  So how it seems $(var2) has
been expanded to "string2       tttt" in the following example:

var2="string2       tttt"
e12:
        echo $(var2)
echo "string2       tttt"
string2       tttt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]