Mail Archives: djgpp/1999/06/07/06:12:54
On Mon, 7 Jun 1999 Mbaccar AT aol DOT com wrote:
> Yes I am running into a problem where if I use .c extension the make
> command works. If I return to my .cpp extensions, it fails.
Probably because you don't have g++.exe on your system.
Like I said, post the details: the Makefile fragment that should invoke
the compiler and the error message(s) printed when you run it. It is
impossible to debug such problems without seeing this stuff.
> I thought
> there is a special command needed, like .SUFFIXES or the like.
.SUFFIXES already includes .cpp. You can see that if you invoke Make
with the -p option, which causes it to dump the entire data-base of rules
known by Make.
- Raw text -