Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: ajays@hcl.in on October 08, 2007, 01:38:14 pm

Title: Compilation with Mingw32-g++
Post by: ajays@hcl.in on October 08, 2007, 01:38:14 pm
Hi ,

          I'm trying to compile  the application on  my windows machine using makefile.
          I have both .c and .cpp files in my application directory . But when i try to compile the
          using makefile(containing only c files) , no problem is there. But when i tried to compile
          the application using makefile (makefile containing cpp files ) , it is taking .c files during compilation ,       though it should take .cpp files . So kindly suggest the reason for the same. And how can we reset those files to .cpp during compilation ( is ther any flags or we are suppose to make some changes in the mingw configuration)