Follow-up Comment #2, bug #18369 (project make):
Hmm, short question, why does it work with make 3.80:
$ make380 -v
GNU Make 3.80
Copyright (C) 2002 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.
$ mkdir test
$ cd test
$ touch 'test with spaces.c'
$ make380 'test with spaces.o'
cc -c -o test with spaces.o test with spaces.c
cc: cannot specify -o with -c or -S and multiple compilations
make380: *** [test with spaces.o] Error 1
$
at least the pattern matching works, and with the following Makefile it even
compiles:
.SUFFIXES:
.SUFFIXES: .o
%.o: %.c
$(CC) -o "$@" $(CFLAGS) -c "$<"
$ make380 'test with spaces.o'
cc -o "test with spaces.o" -c "test with spaces.c"
$
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?18369>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make