"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 will be evaluate at definition to myapp.

Hope this helps.
-- 
Edouard G. Parmelan
http://egp.free.fr

Reply via email to