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.mak9
2 files changed, 17 insertions, 4 deletions
diff --git a/MSVC/Tools/Tools.vcproj b/MSVC/Tools/Tools.vcproj
index 2e2174b..a8c93ac 100644
--- a/MSVC/Tools/Tools.vcproj
+++ b/MSVC/Tools/Tools.vcproj
@@ -107,6 +107,9 @@
Name="Parasite Eve tools"
Filter="">
<File
+ RelativePath="..\..\PE\Aya.bmp">
+ </File>
+ <File
RelativePath="..\..\PE\aya.ico">
</File>
<File
@@ -128,6 +131,15 @@
RelativePath="..\..\PE\nmakefile">
</File>
<File
+ RelativePath="..\..\PE\pepatch-res.h">
+ </File>
+ <File
+ RelativePath="..\..\PE\pepatch.cpp">
+ </File>
+ <File
+ RelativePath="..\..\PE\pepatch.rc">
+ </File>
+ <File
RelativePath="..\..\PE\reinsert-res.h">
</File>
<File
diff --git a/MSVC/Tools/master.mak b/MSVC/Tools/master.mak
index 82a7f16..11ee305 100644
--- a/MSVC/Tools/master.mak
+++ b/MSVC/Tools/master.mak
@@ -48,9 +48,9 @@ _XSD=xsd.exe
#define our basic link line for managed code
!IFDEF DEBUG
-_LINK=link.exe /INCREMENTAL /NOLOGO /DEBUG /SUBSYSTEM:CONSOLE /MACHINE:I386 /NODEFAULTLIB:LIBC
+_LINK=link.exe /INCREMENTAL /NOLOGO /DEBUG /MACHINE:I386 /NODEFAULTLIB:LIBC USER32.LIB
!ELSE
-_LINK=link.exe /INCREMENTAL /NOLOGO /SUBSYSTEM:CONSOLE /MACHINE:I386 /NODEFAULTLIB:LIBCD
+_LINK=link.exe /INCREMENTAL /NOLOGO /MACHINE:I386 /NODEFAULTLIB:LIBCD USER32.LIB
!ENDIF
#this is used for compiling C# samples
@@ -134,8 +134,9 @@ _RMDIR=deltree /y
.cpp.exe:
if not exist $(_OUTDIR) md $(_OUTDIR)
$(_CL) $(_CDFLAGS) $*.cpp
- if not exist $*.res $(_LINK) $(_LFLAGS) $(_LIBS) $*.obj
- if exist $*.res $(_LINK) $(_LFLAGS) $(_LIBS) $*.obj $*.res
+ 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
.lex.c:
if not exist $(_OUTDIR) md $(_OUTDIR)