Thread View: gnu.utils.bug
1 messages
1 total messages
Started by bothner
Mon, 27 Mar 1989 21:33
Gnu make 3.44 incompatibility
Author: bothner
Date: Mon, 27 Mar 1989 21:33
Date: Mon, 27 Mar 1989 21:33
22 lines
1194 bytes
1194 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads