Date: Mon, 7 Jun 1999 09:24:08 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Mbaccar cc: djgpp AT delorie DOT com Subject: Re: make question In-Reply-To: <19990606185911.16922.00001232@ng-fz1.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.