Re: how to use $^ automatic variable with prerequisites built on target-specific variable ?

2010-07-12 Thread Axel
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

Re: how to use $^ automatic variable with prerequisites built on target-specific variable ?

2010-07-09 Thread Ralf Wildenhues
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)

how to use $^ automatic variable with prerequisites built on target-specific variable ?

2010-07-09 Thread Axel
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

Re: how to use $^ automatic variable with prerequisites built on target-specific variable ?

2010-07-09 Thread Axel
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

how to use $^ automatic variable with prerequisites built on target-specific variable ?

2010-07-09 Thread Axel
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