summaryrefslogtreecommitdiff
path: root/MSVC/Tools/master.mak
diff options
context:
space:
mode:
authorpixel <pixel>2003-10-12 05:15:00 +0000
committerpixel <pixel>2003-10-12 05:15:00 +0000
commit7787631c6ee37a489732c95cb0864422e3a3bdd1 (patch)
tree4f6374a3dcc58661ea7b116e2b87cdf84e14e414 /MSVC/Tools/master.mak
parent7cf5187c0a8cedba390a5455b63ed4ecf867be32 (diff)
AT LAST!!!
Windows 2k/XP CD reading works using raw ioctls!!!! HURRAY!!!!!!!!
Diffstat (limited to 'MSVC/Tools/master.mak')
-rw-r--r--MSVC/Tools/master.mak9
1 files changed, 5 insertions, 4 deletions
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)