Scripsit Riley Williams <[EMAIL PROTECTED]>
> Linux-Hams package is inherently Linux specific, GNU make is the only
> version of make used with Linux (as far as I have seen anyway), and GNU
> make (in all versions I have met) correctly expands $(...) as a single
> token wherever it is met.
No it doesn't. If it did, it idiomatic rules such as
binary: $(OBJS)
$(CC) -o $< $(OBJS)
would not work.
It is even easy to check this:
pc-043:~/foo$ cat Makefile
foo = a b
bar:
./echonum $(foo) stop
pc-043:~/foo$ cat echonum
#! /bin/sh
while true ; do
echo $1
[ "$1" = stop ] && exit 0 ;
shift
done
pc-043:~/foo$ gmake bar
./echonum a b stop
a
b
stop
pc-043:~/foo$ gmake --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
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.
Report bugs to <[EMAIL PROTECTED]>.
pc-043:~/foo$
--
Henning Makholm "Hvorfor skulle jeg tale som en slave og en t�be? Jeg
�nsker ikke, at han skal leve evigt, og jeg ved, at han ikke
kommer til at leve evigt, uanset om jeg �nsker det eller ej."
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make