On Tue, 2013-02-05 at 02:09 +0000, Hiebert, Darren (IS) wrote:
> I have examined the output of "make -dpr" and see that the makefile
> tries to evaluate the literal text of "$PREREQ" instead of the value
> of the variable.

If you want that kind of expansion you must declare
the .SECONDEXPANSION: special target in your makefile (before the rule).

See the GNU make manual section on secondary expansion:

http://www.gnu.org/software/make/manual/html_node/Secondary-Expansion.html


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

Reply via email to