X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fz80%2Fz80.dsp;h=a31a82a652316dbb797595ebc484cb056d3d0249;hb=0892d3692ded8c67ab4df6b26f603bb8d243e39d;hp=d5adcc6c4da56441dac5468aa487c1a71e2aa150;hpb=825939af2f599a2ce0ddd3938beef8fc51907d91;p=fw%2Fsdcc diff --git a/src/z80/z80.dsp b/src/z80/z80.dsp index d5adcc6c..a31a82a6 100644 --- a/src/z80/z80.dsp +++ b/src/z80/z80.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Static Library" 0x0104 -CFG=z80 - Win32 Debug +CFG=z80 - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,11 +13,12 @@ CFG=z80 - Win32 Debug !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE -!MESSAGE NMAKE /f "z80.mak" CFG="z80 - Win32 Debug" +!MESSAGE NMAKE /f "z80.mak" CFG="z80 - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "z80 - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "z80 - Win32 Release" (based on "Win32 (x86) Static Library") !MESSAGE # Begin Project @@ -26,6 +27,9 @@ CFG=z80 - Win32 Debug # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe + +!IF "$(CFG)" == "z80 - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -33,40 +37,68 @@ RSC=rc.exe # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "" +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" # PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /G3 /ML /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /J /FD /GZ /Zm500 /c +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /Zm500 /c +# ADD CPP /nologo /G5 /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /FD /GZ /Zm1000 /c # ADD BASE RSC /l 0x409 /d "_DEBUG" # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"port.lib" +# ADD BASE LIB32 /nologo /out:"Debug\port.lib" +# ADD LIB32 /nologo /out:"Debug\port.lib" + +!ELSEIF "$(CFG)" == "z80 - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /Zm500 /c +# ADD CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /Zm1000 /c +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"Release\port.lib" +# ADD LIB32 /nologo /out:"Release\port.lib" + +!ENDIF + # Begin Target # Name "z80 - Win32 Debug" +# Name "z80 - Win32 Release" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" # Begin Source File -SOURCE=..\..\support\Util\BuildCmd.c -# End Source File -# Begin Source File - SOURCE=.\gen.c # End Source File # Begin Source File SOURCE=.\main.c -# End Source File -# Begin Source File -SOURCE=..\..\support\Util\MySystem.c +!IF "$(CFG)" == "z80 - Win32 Debug" + +!ELSEIF "$(CFG)" == "z80 - Win32 Release" + +# ADD CPP /D "LNK" + +!ENDIF + # End Source File # Begin Source File