delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/07/02:26:34

Date: Mon, 7 Jun 1999 09:24:08 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Mbaccar <mbaccar AT aol DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: make question
In-Reply-To: <19990606185911.16922.00001232@ng-fz1.aol.com>
Message-ID: <Pine.SUN.3.91.990607092349.18114G-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 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 -


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