Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!WSL.DEC.COM!bothner From: bothner@WSL.DEC.COM Newsgroups: gnu.utils.bug Subject: Gnu make 3.44 incompatibility Message-ID: <8903272133.AA03247@gilroy.pa.dec.com> Date: 27 Mar 89 21:33:36 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 22 I found a Makefile (in the X distribution) where $*.c was used in a non-pattern rule. Though gross, it works in "standard" Ultrix make, though it doesn't work for GNU make. A simplified version is shown below. --Per Bothner Western Software Lab, Digital Equipment, 100 Hamilton Ave, Palo Alto CA 94301 bothner@wsl.dec.com ...!decwrl!bothner gilroy/test:41>rm foo.o gilroy/test:42>cat Makefile foo.o: foo.c cc -c -g $*.c gilroy/test:43>~/bin/make -v foo.o GNU Make version 3.44, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 1989 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. cc -c -g .c gilroy/test:44>/bin/make foo.o cc -c -g foo.c