more *nix compatibility fixes
[reactos.git] / reactos / tools / rbuild / backend / mingw / modulehandler.cpp
index a9d6f08..db97808 100644 (file)
@@ -809,7 +809,7 @@ MingwModuleHandler::GenerateWindresCommand ( const Module& module,
        string resFilename = ReplaceExtension ( sourceFilename,\r
                                                ".res" );\r
        fprintf ( fMakefile,\r
-                 "%s: %s\n",\r
+                 "%s: %s $(WRC_TARGET)\n",\r
                  objectFilename.c_str (),\r
                  sourceFilename.c_str () );\r
        fprintf ( fMakefile, "\t$(ECHO_WRC)\n" );\r
@@ -820,7 +820,7 @@ MingwModuleHandler::GenerateWindresCommand ( const Module& module,
                 rciFilename.c_str () );\r
        fprintf ( fMakefile,\r
                 "\t${wrc} ${%s} %s %s\n",\r
-           windresflagsMacro.c_str (),\r
+                windresflagsMacro.c_str (),\r
                 rciFilename.c_str (),\r
                 resFilename.c_str () );\r
        fprintf ( fMakefile,\r