summaryrefslogtreecommitdiff
path: root/MSVC
diff options
context:
space:
mode:
Diffstat (limited to 'MSVC')
-rw-r--r--MSVC/Tools/master.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/MSVC/Tools/master.mak b/MSVC/Tools/master.mak
index a38c264..d855ee8 100644
--- a/MSVC/Tools/master.mak
+++ b/MSVC/Tools/master.mak
@@ -134,7 +134,8 @@ _RMDIR=deltree /y
.cpp.exe:
if not exist $(_OUTDIR) md $(_OUTDIR)
$(_CL) $(_CDFLAGS) $*.cpp
- $(_LINK) $(_LFLAGS) $(_LIBS) $*.obj
+ if not exist $*.res $(_LINK) $(_LFLAGS) $(_LIBS) $*.obj
+ if exist $*.res $(_LINK) $(_LFLAGS) $(_LIBS) $*.obj $*.res
.lex.c:
if not exist $(_OUTDIR) md $(_OUTDIR)