From: ebachalo AT cygnus DOT com (Eric Bachalo) Subject: Re: Bug in make in 980213 snapshot? 19 Feb 1998 12:47:30 -0800 Message-ID: <3.0.5.32.19980219104620.0093f4f0.cygnus.cygwin32.developers@pop.cygnus.com> References: <199802180411 DOT XAA09352 AT hardy DOT bbc DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: cgf AT bbc DOT com Cc: cygwin32-developers AT cygnus DOT com Christopher Faylor, I found the bug. I have not fixed it yet but I hope to have a patch before the weekend. I have too much managerial stuff to do first. However I do have a work around for you in the mean time if you wish. Separate your file lists by two spaces instead of one. i.e. prodfiles:=/tmp/foo /tmp/bar instead of prodfiles:=/tmp/foo /tmp/bar and it should work. Best Regards, Eric At 11:11 PM 2/17/98 -0500, Christopher Faylor wrote: >>From: Eric Bachalo >>Date: Tue, 17 Feb 1998 17:23:41 -0800 >> >>At 06:05 PM 2/17/98 GMT, you wrote: >>>I have a line like this in one of your in-house makefiles: >>> >>>$(prodfiles): %: %.prod >>> @echo "Making $@";$(mklock) $@ '$(product) $? > $@.tmp; mv $@.tmp $@' >>> >>>This version of make complains about this line. I do have MAKE_MODE >>>set to unix. Is there something else I need to do? >> >>Details? Which makefile? How is it complaining? > >Sorry. I thought it was either a simple problem with the a: b: c form >or there was some option I wasn't setting. > >>I need to be able to reproduce the problem. When you said "your >>in-house makefiles" did you mistakenly mean your own in-house makefile. >>If so could you e-mail me the makefile or enough of it and other >>sources to reproduce the bug. > >Yep. I meant "our" not "your". Sorry. It's been a busy day and I >wanted to report this ASAP but ended up just confusing things. > >Anyway, here's a simple test case that fails with make 3.75-97r2Beta >distributed in the win32native-opt-980213.tar.bz2 file that Geoff >provided: > >prodfiles:=/tmp/foo /tmp/bar > >$(prodfiles): %: %.prod > @echo "making $@" > > >The error: >makefile:3: *** missing separator. Stop. > >Apologies again for the previous vague bug report. >-- >http://www.bbc.com/ cgf AT bbc DOT com "Strange how unreal >VMS=>UNIX Solutions Boston Business Computing the real can be." > >