From: Henning Makholm (ndikz.wakeq@nicholls.edu)
Date: Mon Jun 24 2002 - 15:07:34 EEST
Scripsit Riley Williams <sly@microsst.lncc.br>
> 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 <bsmngxk.ezjo@chello083144108201.chello.pl>.
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."
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to oho.cusqvxoxy@linkway.net.br
More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Mon Jun 24 2002 - 15:07:52 EEST