summaryrefslogtreecommitdiff
path: root/MSVC/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'MSVC/Tools')
-rw-r--r--MSVC/Tools/Tools.vcproj12
-rw-r--r--MSVC/Tools/master.mak4
2 files changed, 15 insertions, 1 deletions
diff --git a/MSVC/Tools/Tools.vcproj b/MSVC/Tools/Tools.vcproj
index b2aef74..43bb39e 100644
--- a/MSVC/Tools/Tools.vcproj
+++ b/MSVC/Tools/Tools.vcproj
@@ -47,6 +47,15 @@
RelativePath="..\..\crypto-search.cpp">
</File>
<File
+ RelativePath="..\..\luapatch-res.h">
+ </File>
+ <File
+ RelativePath="..\..\luapatch.cpp">
+ </File>
+ <File
+ RelativePath="..\..\luapatch.rc">
+ </File>
+ <File
RelativePath="..\..\lzss-main.cpp">
</File>
<File
@@ -165,6 +174,9 @@
RelativePath="Links.htm"
DeploymentContent="TRUE">
</File>
+ <File
+ RelativePath="..\..\cdrom.ico">
+ </File>
</Files>
<Globals>
</Globals>
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: