help-make
[Top][All Lists]
Advanced

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

why isn't command expansion deferred?? (stupid question probably)


From: Mark Galeck (CW)
Subject: why isn't command expansion deferred?? (stupid question probably)
Date: Sun, 31 Jan 2010 03:31:18 -0800

Hello,  the manual says, that commands are always expanded deferred.  OK, I 
have this makefile

foobar:
                touch foobar
                echo $(wildcard foobar)

Then why is this:

C:\Temp>del foobar

C:\Temp>make foobar
touch foobar
echo
ECHO is off. 

I was expecting it would echo foobar!  How do I make $(wildcard...) evaluate 
when it is being called from a command?

Mark





reply via email to

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