From: dominique DOT pelle AT eurocontrol DOT fr (Dominique PELLE) Subject: BUg in GNU make 3.75 (CYGWIN port) 10 Jan 1999 07:02:56 -0800 Message-ID: <36985EA0.4818F565.cygnus.gnu-win32@eurocontrol.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com On CYWIN_95-4.0 (Beta 20.1 release) the simple GNU Makefile (GNU make 3.75) that follows does not work. It works fine with GNU make on Linux: # --- cut here --- all: /tmp/bar /tmp/foo ; clean: rm -f /tmp/foo /tmp/bar # This create problems on the CYWIN port of GNU make 3.75 /tmp/foo /tmp/bar: touch $@ # --- cut here --- Here is how it fails: $ make make: *** No rule to make target `/tmp/bar', needed by `all'. Stop. The bug seems to occur when there are several targets in the same rule AND when the target files are absolute pathnames Everything is fine when relative pathnames are used instead of absolute pathnames. Everything is fine also when I replace the rule: /tmp/foo /tmp/bar: touch $@ .... with 2 rules: /tmp/foo: touch $@ /tmp/bar: touch $@ My host is: BASH.EXE-2.02$ uname -a CYGWIN_95-4.0 SPEEDY 20.1 (0.3/1/1) 1998-12-3 20:39:18 i586 unknown My GNU make version is: BASH.EXE-2.02$ make --version GNU Make version 3.75, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Report bugs to . BASH.EXE-2.02$ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".