[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gnu make files



Osamu Aoki wrote:
> 
> 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?
> 
> There is no rule for cxx.  You must beg upstream to include it, I guess :-)

You can add your own implicit rule to your makefile to tell make what to
do with a .cxx file.

See the GNU make manual:
http://www.gnu.org/manual/make/html_node/make_99.html#SEC98

Matthew



Reply to: