PATCH: .SECONDARY target with no dependencies does not work correctly.

2000-06-15 Thread Seth M LaForge
(Make version 3.79.) Consider: % cat Makefile %.1: %.2 cp $< $@ %.2: %.3 cp $< $@ .SECONDARY: % ls Makefile foo.3 % make foo.1 cp foo.3 foo.2 cp foo.2 foo.1 rm foo.2 According to the documentation, the .SECONDARY target should cause all files to be cons

PATCH: Multiple-target pattern rules do the wrong thing with subdirs.

2000-06-15 Thread Seth M LaForge
(Make version 3.79.) Consider this Makefile: %.1 %.2: %.src cp $< $*.1 cp $< $*.2 Create a file sub/foo.src and 'make -Rp sub/foo.1'. Here's an excerpt from the output: # Not a target: sub/foo.1: sub/foo.src # Command-line target. # Implicit rule search has bee

Re: Make v3.79, for Windows32

2000-06-15 Thread Andre Srinivasan
... EZ> It would be more convincing to have a proof that Bash is called to EZ> run the command where the problem happens. Perhaps the quote EZ> style changes Make's decision about this. EZ> If Bash is indeed called, I'd guess this is some bug between Make EZ> and Bash. I'm not sure how to prove

Re: Make v3.79, for Windows32

2000-06-15 Thread Eli Zaretskii
> From: "Andre Srinivasan" <[EMAIL PROTECTED]> > Date: Thu, 15 Jun 2000 10:05:18 -0700 (GMT-8:00) > > I just checked that indeed bash is being invoked: > > $ cat Makefile > > all: > echo $$SHELL > > $ make > echo $SHELL > d:/cygnus/cygwin-b20/usr/loca

RE: does gnumake 3.77 wildcard work under solaris 2.6?

2000-06-15 Thread Howard Chu
This is a known bug in 3.77. 3.79 is the current version, you really need to update. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc > -Original Message- > From: John Lewis 425-865-3510 [mailto:[E

does gnumake 3.77 wildcard work under solaris 2.6?

2000-06-15 Thread John Lewis 425-865-3510
We're trying to use the wildcard function in gnumake, and find that it produces nothing. The goal is to produce a list of the .o files that should be checked against all the .f files in a directory, as directly from page 18 of the 3.77 manual (and as of some earlier versions of gnumake that work

Re: Make v3.79, for Windows32

2000-06-15 Thread Andre Srinivasan
On Thu, 15 Jun 2000, Andre Srinivasan wrote: > o Quoted expressions in shell commands don't seem to translate > across platforms. In the SunOS5.6 and Cygwin versions of > make 3.78.1, I could use the following: > > subdirs: $(DIRS) > if

Re: Parallel mode: Problem with Re-executing after Makefile-includes building

2000-06-15 Thread Paul D. Smith
%% Jork Loeser <[EMAIL PROTECTED]> writes: jl> I am using gmake version 3.77 under Linux. Please try a later version; your example works for me with 3.79. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some

Parallel mode: Problem with Re-executing after Makefile-includes building

2000-06-15 Thread Jork Loeser
Hi, I am using gmake version 3.77 under Linux. My Makefile uses an include which is built with commands from the Makefile. In the nonparallel mode (without -j), make does the Re-execution described in the manual after generating the include. In the parallel mode (make -j), this remains undone: Th

Re: Make v3.79, for Windows32

2000-06-15 Thread Eli Zaretskii
On Thu, 15 Jun 2000, Andre Srinivasan wrote: > o Quoted expressions in shell commands don't seem to translate > across platforms. In the SunOS5.6 and Cygwin versions of > make 3.78.1, I could use the following: > > subdirs: $(DIRS) > if

Make v3.79, for Windows32

2000-06-15 Thread Andre Srinivasan
I'm using Cygwin and built the W32 version of Make with the HAVE_CYGWIN_SHELL cpp symbol set. I'm seeing two problems: o Quoted expressions in shell commands don't seem to translate across platforms. In the SunOS5.6 and Cygwin versions of make 3.78.1, I could use th