create phony targets for each module name, so you can type 'make
ntoskrnl' instead of having to type 'make ./ntoskrnl/ntoskrnl.exe'
Modified:
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler
.cpp
_____
Modified:
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler
.cpp
---
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler
.cpp 2005-01-13 04:13:20 UTC (rev 13017)
+++
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler
.cpp 2005-01-13 04:17:53 UTC (rev 13018)
@@ -515,6 +515,13 @@
GenerateMacros ( module, cflagsMacro, nasmflagsMacro,
objectsMacro );
+ // generate phony target for module name
+ fprintf ( fMakefile, ".PHONY: %s\n",
+ module.name.c_str() );
+ fprintf ( fMakefile, "%s: %s\n\n",
+ module.name.c_str(),
+ module.GetPath().c_str() );
+
// future references to the macros will be to get their values
cflagsMacro = ssprintf("$(%s)",cflagsMacro.c_str());
nasmflagsMacro = ssprintf("$(%s)",nasmflagsMacro.c_str());