Re: gnu make files
On Wed, Oct 31, 2001 at 10:50:56PM -0500, xucaen@yahoo.com wrote:
> here's a question I can't seem to find an answer to..
> why does GNU make automatically compile .cpp files, but with .cxx
> files I have to explicitly add a g++ line in the make file?
"man make":
-p Print the data base (rules and variable values) that
results from reading the makefiles; then execute as
usual or as otherwise specified. This also prints
the version information given by the -v switch (see
below). To print the data base without trying to
remake any files, use make -p -f/dev/null.
$ make -p -f/dev/null 2>/dev/null | grep "cxx"
There is no rule for cxx. You must beg upstream to include it, I guess :-)
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~
+ Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D +
+ My debian quick-reference, http://www.aokiconsulting.com/quick/ +
Reply to: