> On Thu, 8 Feb 2001, Jonathan Lim wrote:
>
> > On Thu Feb 8 13:13:26 2001, connolsv@xxxxxxxx wrote:
> > >
> > > - the SUN C++ compiler does not like the ".c++" suffix so I had to
> > > rename such files to end in ".cc".
> >
> > How about making symbolic links instead? It's too much of a pain to
> > rename all the files.
>
> or ... define a new rule for the compiler and tell it how to go from a
> .c++ to a .o.
It's not a Makefile issue, but a compiler problem, so this won't work. The
compiler gives the following error:
CC: Invalid input file name test.c++, no output generated for this file.
The only way to deal w/ this is to use a different file suffix.
Loring
|