Create parent directory before creating the definition file
authorCasper Hornstrup <chorns@users.sourceforge.net>
Sat, 19 Nov 2005 21:07:25 +0000 (21:07 +0000)
committerCasper Hornstrup <chorns@users.sourceforge.net>
Sat, 19 Nov 2005 21:07:25 +0000 (21:07 +0000)
svn path=/trunk/; revision=19351

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

index d32e6f3..a959456 100644 (file)
@@ -1081,9 +1081,10 @@ MingwModuleHandler::GenerateWinebuildCommands (
        CLEAN_FILE(stub_file)
 
        fprintf ( fMakefile,
-                 "%s: %s $(WINEBUILD_TARGET)\n",
+                 "%s: %s $(WINEBUILD_TARGET) | %s\n",
                  def_file.c_str (),
-                 dependencies.c_str () );
+                 dependencies.c_str (),
+                 GetDirectory ( def_file ).c_str () );
        fprintf ( fMakefile, "\t$(ECHO_WINEBLD)\n" );
        fprintf ( fMakefile,
                  "\t%s -o %s --def -E %s\n",