Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Jason Merrill
Sat, 10 Oct 1992 08:41
Make 3.62 incorrectly expands $*
Author: Jason Merrill
Date: Sat, 10 Oct 1992 08:41
Date: Sat, 10 Oct 1992 08:41
16 lines
1035 bytes
1035 bytes
In the finger-1.36 distribution, the makefiles in the lib subdir contain the implicit rule .c.o: $(CC) -c $(CFLAGS) $(INCFLAGS) $(DEFS) $*.c Even though the file matched is /gnu/finger-1.36/lib/error.c, for instance, $*.c only expands to error.c, and gcc complains that it can't find error.c in the current directory. Replacing $*.c with $< fixes the problem. According to the info pages, $* should expand to "the stem with which an implicit rule matches". Is this not "/gnu/finger-1.36/lib/error"? -- Jason Merrill jason@jarthur.claremont.edu
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