Mail Archives: djgpp/1999/06/07/02:26:34
On 6 Jun 1999, Mbaccar wrote:
> I want to compile code with g++. The problem I am having is the use of
> ,cpp file extension. How do I tell make to default to .cpp instead of .c
> extensions?
Make doesn't have any default extensions, and it already has built-in
rules for compiling .cpp files as C++ programs. So I don't understand
why do you want to change any defaults.
If you have specific problems (like a Makefile that won't run or
something), please post specific questions with information pertinent
to your specific case.
- Raw text -