Re: struggling with make inside GCC MELT

2012-01-11 Thread Jonathan Wakely
On 11 January 2012 14:49, Ian Lance Taylor wrote: > Jonathan Wakely writes: > >> I'm not sure why "@true" is needed, as I think GNU make allows simply >> ";" for an empty recipe, maybe Ian can explain that part. > > The rules I described work for all versions of make.  It's quite Thanks, I wonder

Re: struggling with make inside GCC MELT

2012-01-11 Thread Ian Lance Taylor
Jonathan Wakely writes: > I'm not sure why "@true" is needed, as I think GNU make allows simply > ";" for an empty recipe, maybe Ian can explain that part. The rules I described work for all versions of make. It's quite possible that with GNU make the "@true" is unnecessary. Ian

Re: struggling with make inside GCC MELT

2012-01-11 Thread Jonathan Wakely
On 11 January 2012 09:08, Mingjie Xing wrote: > 2012/1/10 Ian Lance Taylor : >> Stamp files in make work like this: >> >> FILE: STAMP-FILE; @true >> STAMP-FILE: DEPENDENCIES >>        commands to create FILE.tmp >>        move-if-change FILE.tmp FILE >>        touch $@ >> >> What this says is: if a

Re: struggling with make inside GCC MELT

2012-01-11 Thread Mingjie Xing
2012/1/10 Ian Lance Taylor : > Stamp files in make work like this: > > FILE: STAMP-FILE; @true > STAMP-FILE: DEPENDENCIES >        commands to create FILE.tmp >        move-if-change FILE.tmp FILE >        touch $@ > > What this says is: if any of DEPENDENCIES change, then run the commands > to cre

Re: struggling with make inside GCC MELT

2012-01-10 Thread Ian Lance Taylor
Basile Starynkevitch writes: > On Tue, Jan 10, 2012 at 07:12:50AM -0800, Ian Lance Taylor wrote: >> Basile Starynkevitch writes: >> >> > I am fighting against makefile issues on the GCC MELT branch. >> > >> > Much more details are given in >> >http://stackoverflow.com/q/8727896/841108 >> >

Re: struggling with make inside GCC MELT

2012-01-10 Thread Basile Starynkevitch
On Tue, Jan 10, 2012 at 07:12:50AM -0800, Ian Lance Taylor wrote: > Basile Starynkevitch writes: > > > I am fighting against makefile issues on the GCC MELT branch. > > > > Much more details are given in > >http://stackoverflow.com/q/8727896/841108 > > and in > >http://lists.gnu.org/arc

Re: struggling with make inside GCC MELT

2012-01-10 Thread Ian Lance Taylor
Basile Starynkevitch writes: > I am fighting against makefile issues on the GCC MELT branch. > > Much more details are given in >http://stackoverflow.com/q/8727896/841108 > and in >http://lists.gnu.org/archive/html/help-make/2012-01/msg00017.html > > So (unless you ask) I won't repeat t