A makefile with a mix of gcc and g++

Mahmood Naderan nt_mahmood@yahoo.com
Tue Apr 12 10:57:00 GMT 2011


Hi,
I have a makefile that compiles source files with gcc. However I want to exclude 
one file and compile it with g++ (since I want to use STL in a pure ANSI C 
application).  The question is how can I do that in such a way that make file 
automatically compile this file with g++ and others with gcc.

Thanks, 

// Naderan *Mahmood;



More information about the Gcc-help mailing list