"Jörg Reuter" wrote:
> APP = `echo "myapp"`
>
> file.$(APP):
> touch file.$(APP)
>
> Repeated calls to make will touch "file.myapp" again and again.
file.$(APP) is expended to file.`echo "myapp"` and this file does not
exist.
Try this definition:
APP := $(shell echo "myapp")
then APP
Dear developers,
I'm not quite sure whether the problem I have encountered is a bug,
so maybe it's just a suggestion on how to extend the functionality of
"make".
Let's take the following makefile:
--
APP = myapp
file.$(AP