summaryrefslogtreecommitdiff
path: root/MSVC
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
parent1badb6d6759b1836b8f4c6435693433b4f8d285c (diff)
Having a cute patching system now
Diffstat (limited to 'MSVC')
-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: