From: hughw AT scoutsys DOT com (Hugh Winkler) Subject: B20 Bug in make 3.75 12 Nov 1998 21:58:04 -0800 Message-ID: <000401be0e2f$e5c46de0$0c0aa8c0.cygnus.gnu-win32@harry.scoutsys.com> Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: Hi all, I don't think the only problem with make is in static pattern rules. Here's another case, similar to a previously reported case in that it has multiple targets but different in that it has simple dependencies: ##### Begin Makefile ##### # Makefile demonstrating bug in GNU make 3.75 in Cygwin b20 # Multiple targets fails if absolute path is given # Succeeds with abs. path and single target, or multiple relative targets # Define an absolute path to some directory. # Put two files there a.c and b.c; they can be "main(){}". # B=. [relative instead of absolute here, would succeed, or...] B=/hugh/makebug # Targets will be two .exe's # PROGS= $B/a.exe [...one target here would succeed] PROGS= $B/a.exe $B/b.exe INSTALL: $(PROGS) $(PROGS): a.c b.c $(CC) $(CFLAGS) $< $(LFLAGS) -o $@ #### end of Makefile ###### Here's a snippet of output from "make -rd" : Considering target file `INSTALL'. File `INSTALL' does not exist. Looking for an implicit rule for `INSTALL'. No implicit rule found for `INSTALL'. Considering target file `/hugh/makebug/a.exe'. File `/hugh/makebug/a.exe' does not exist. Looking for an implicit rule for `/hugh/makebug/a.exe'. No implicit rule found for `/hugh/makebug/a.exe'. Finished dependencies of target file `/hugh/makebug/a.exe'. Must remake target `/hugh/makebug/a.exe'. make: *** No rule to make target `/hugh/makebug/a.exe', needed by `INSTALL'. Stop. MAKE_MODE is UNIX and I'm using Sergey's cygwin1.dll of Nov. 8 1998. Hugh Winkler Scout Systems, Inc. - 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".