Le 10/07/2010 08:12, Ralf Wildenhues a écrit :
Hello Axel,
This question is mainly about a GNU make feature (target-specific
variables) rather than about Automake (which doesn't understand this
feature). So further questions are better asked on a mailing list about
GNU make such as help-make
Hello Axel,
* Axel wrote on Fri, Jul 09, 2010 at 11:32:45AM CEST:
> >I m using a target with prerequisites based on target-specific variable,
> >but it seems that the $^ doesn't work and is empty in this use-case :
> >
> >prereq:
> > touch prereq
> >
> >test: FILE = prereq
> >
> >test: $(FILE)
Hello
I m using a target with prerequisites based on target-specific variable,
but it seems that the $^ doesn't work and is empty in this use-case :
prereq:
touch prereq
test: FILE = prereq
test: $(FILE)
echo Variable: $(FILE) Prereq: $^
"make test" displays that $^ is empty, but t
Le 09/07/2010 10:23, Axel a écrit :
Hello
I m using a target with prerequisites based on target-specific variable,
but it seems that the $^ doesn't work and is empty in this use-case :
prereq:
touch prereq
test: FILE = prereq
test: $(FILE)
echo Variable: $(FILE) Prereq: $^
"make test" disp
Hello
I m using a target with prerequisites based on target-specific variable,
but it seems that the $^ doesn't work and is empty in this use-case :
prereq:
touch prereq
test: FILE = prereq
test: $(FILE)
echo Variable: $(FILE) Prereq: $^
"make test" displays that $^ is empty, but t