summaryrefslogtreecommitdiff
path: root/MSVC/Tools/master.mak
diff options
context:
space:
mode:
authorpixel <pixel>2004-01-22 22:44:43 +0000
committerpixel <pixel>2004-01-22 22:44:43 +0000
commit7e96e72218e40a2fc3c49294d5156eb0e05b8e94 (patch)
treece34db6414fc5528b3b2e51e02502a68f8808fac /MSVC/Tools/master.mak
parent1badb6d6759b1836b8f4c6435693433b4f8d285c (diff)
Having a cute patching system now
Diffstat (limited to 'MSVC/Tools/master.mak')
-rw-r--r--MSVC/Tools/master.mak4
1 files changed, 3 insertions, 1 deletions
diff --git a/MSVC/Tools/master.mak b/MSVC/Tools/master.mak
index 4243a99..511c6c4 100644
--- a/MSVC/Tools/master.mak
+++ b/MSVC/Tools/master.mak
@@ -150,7 +150,9 @@ _RMDIR=deltree /y
#default compile and link for c++ files building an exe
#note: name.obj and name.exe must match
.obj.exe:
- $(_LINK) $(_LFLAGS) $(_LIBS) $**
+ if not exist $*.res $(_LINK) /SUBSYSTEM:CONSOLE $(_LFLAGS) $(_LIBS) $*.obj
+ if exist $*.res $(_LINK) /SUBSYSTEM:CONSOLE $(_LFLAGS) $(_LIBS) $*.obj $*.res
+ if exist $*.paq copy /b $*.exe+$*.paq $*.exe
#default compile and link for c++ files building a dll
.obj.dll: