Module& module = *ProjectNode.modules[i];\r
fprintf ( fMakefile,\r
" %s",\r
- module.GetPath ().c_str () );\r
+ FixupTargetFilename(module.GetPath ()).c_str () );\r
}\r
fprintf ( fMakefile, "\n\t\n\n" );\r
}\r
moduleHandlers.push_back ( new MingwKernelModuleHandler ( fMakefile ) );\r
moduleHandlers.push_back ( new MingwStaticLibraryModuleHandler ( fMakefile ) );\r
}\r
+\r
+string\r
+FixupTargetFilename ( const string& targetFilename )\r
+{\r
+ return string("$(ROS_INTERMEDIATE)") + targetFilename;\r
+}\r