www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/07/06:12:54

Date: Mon, 7 Jun 1999 13:10:20 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Mbaccar AT aol DOT com
cc: djgpp AT delorie DOT com
Subject: Re: make question
In-Reply-To: <4ec67014.248ccea1@aol.com>
Message-ID: <Pine.SUN.3.91.990607130631.2943C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019