don't try to create ROS_INTERMEDIATE directories if ROS_INTERMEDIATE isn't defined
authorRoyce Mitchell III <royce3@ev1.net>
Wed, 9 Mar 2005 23:38:37 +0000 (23:38 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Wed, 9 Mar 2005 23:38:37 +0000 (23:38 +0000)
svn path=/branches/xmlbuildsystem/; revision=13902

reactos/tools/rbuild/backend/mingw/modulehandler.cpp

index 98ff6d8..1af28f8 100644 (file)
@@ -288,6 +288,8 @@ MingwModuleHandler::GenerateDirectoryTargets () const
        \r
        set_string::iterator it;\r
        size_t wrap_count = 0;\r
+\r
+       fprintf ( fMakefile, "ifneq ($(ROS_INTERMEDIATE),)\n" );\r
        fprintf ( fMakefile, "directories::" );\r
 \r
        for ( it = directory_set.begin ();\r
@@ -322,7 +324,8 @@ MingwModuleHandler::GenerateDirectoryTargets () const
        }\r
 \r
        fprintf ( fMakefile, \r
-                 "::\n\t${mkdir} $@\n\n" );\r
+                 "::\n\t${mkdir} $@\n" );\r
+       fprintf ( fMakefile, "endif\n\n" );\r
 \r
        directory_set.clear ();\r
 }\r