Re: not a bug but some strange behaviour

2009-12-01 Thread jean-luc malet
;>>> >>>> This program built for i686-pc-cygwin >>>> >>>> $ >>>> >>>> >>>> >>>> The exact test case I used wasn't quite the same as you gave: >>>> >>>> >>>> >>>&

Re: not a bug but some strange behaviour

2009-12-01 Thread jean-luc malet
gt; $ cat make.bat >>> >>> C:\cygwin-1.5\bin\make %* >>> >>> $ cat Makefile >>> >>> >>> >>> export TEST_FLAG=test >>> >>> SHELL=/bin/bash >>> >>> >>> >>> test : >>

Re: not a bug but some strange behaviour

2009-12-01 Thread jean-luc malet
;>     printf "${TEST_FLAG}\n" >> >> >> >> test3 : >> >>     printf "$${ENV_VAR1}\n" >> >> >> >> test4 : >> >>     printf "${ENV_VAR1}\n" >> >> >> >> test5

Re: not a bug but some strange behaviour

2009-12-01 Thread jean-luc malet
t; > test4 : > >     printf "${ENV_VAR1}\n" > > > > test5 : > >     ENV_VAR1=${ENV_VAR1}; /bin/bash somescriptthatdoprintfenv_var1 > > > > > > $ > > > > If I had make.bat run "make", then it ended up invoking itself.  My

Re: not a bug but some strange behaviour

2009-12-01 Thread jean-luc malet
ll, cygwin env > > $make test > > test > > $make test2 > > test > > $make test3 > > fromtheenv > > $make test4 > > fromtheenv > > $make test5 > > fromtheenv > > > > --- linux -- > > always working > > &g

RE: not a bug but some strange behaviour

2009-11-30 Thread Martin Dorey
-- From: jean-luc malet [mailto:jeanluc.ma...@gmail.com] Sent: Monday, November 30, 2009 14:27 To: Martin Dorey Cc: bug-make Subject: Re: not a bug but some strange behaviour $cat make.bat set PATH=cygwin_Path;oldPath make %* $ cat /tmp/Makefile export TEST_FLAG=test SHELL=/bin/bash

Re: not a bug but some strange behaviour

2009-11-30 Thread jean-luc malet
entirety to help someone reproduce the problem? > > -Original Message- > From: bug-make-bounces+mdorey=bluearc@gnu.org > [mailto:bug-make-bounces+mdorey=bluearc@gnu.org] On Behalf Of jean-luc > malet > Sent: Monday, November 30, 2009 10:27 > To: bug-make > S

RE: not a bug but some strange behaviour

2009-11-30 Thread Martin Dorey
: Monday, November 30, 2009 10:27 To: bug-make Subject: not a bug but some strange behaviour Hi! I have a cygwin environment in which I've written a makefile, in this environment it's working fine I want to make it available to other dos user, so I've written a bat file that set the cygwi

not a bug but some strange behaviour

2009-11-30 Thread jean-luc malet
Hi! I have a cygwin environment in which I've written a makefile, in this environment it's working fine I want to make it available to other dos user, so I've written a bat file that set the cygwin path and call make, in the doc env when I do echo %somevar% I see the correct result however in comma

Re: Target specific += has strange behaviour

2002-11-03 Thread Paul D. Smith
%% Oliver Schmidt <[EMAIL PROTECTED]> writes: os> targA targB targC: os> @echo "$@: T=<$T>" os> T := 1 os> targA: T = 2 os> targA: T += 3 os> gives the output: os> targA: T=<1 2 3> os> In my opinion the output for targA should be "targA: T=<2 3>". I agree, this looks like

Target specific += has strange behaviour

2002-11-03 Thread Oliver Schmidt
Hi, the following makefile: Makefile start === .PHONY: targ targA targB targC targ: targA targB targC targA targB targC: @echo "$@: T=<$T>" T := 1 targA: T = 2 targA: T += 3 targB: T := 2 targB: T += 3 targC: T = 2 Makefile end === gi

Strange behaviour with make 3.79.1

2001-11-20 Thread thierry
Hello! I've found a strange behaviour of make v3.79.1. A sample of the Makefile is joined with this mail. The interesting part is the $(BASE) rule: $(BASE): $(BASE).h $(OBJ2) $(OBJ1).o @echo "it's okay..." This rule indicate to generate $(BASE).h if

Re: Strange behaviour

2000-11-22 Thread Paul D. Smith
%% qun-ying <[EMAIL PROTECTED]> writes: q> I want the object files to be placed in the object directory and latter q> link against them. You cannot use vpath/VPATH for this; that's not what it's for. See my web site below for some details on VPATH and why it doesn't do what you think. --

Strange behaviour

2000-11-22 Thread qun-ying
Hi, I have encounter this stragne behaviour. It is properly due to my writing of the Makefile. But how do I solve this kind of problem? I want the object files to be placed in the object directory and latter link against them. I am running make 2.79.1 under Linux 2.2.17 (slackware 7.1) with g