]> git.gag.com Git - fw/sdcc/blobdiff - src/z80/z80a.dsp
- added Release configuration in VS projects
[fw/sdcc] / src / z80 / z80a.dsp
index 536217c41511711d41762bf9e573b4fc5d825415..f7341ac5a04c5f19a583f2d1741ccacb4a9e9647 100644 (file)
@@ -4,27 +4,31 @@
 
 # TARGTYPE "Win32 (x86) Generic Project" 0x010a
 
-CFG=z80a - Win32 Debug
+CFG=z80a - Win32 Release
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,
 !MESSAGE use the Export Makefile command and run
-!MESSAGE
+!MESSAGE 
 !MESSAGE NMAKE /f "z80a.mak".
-!MESSAGE
+!MESSAGE 
 !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 "z80a.mak" CFG="z80a - Win32 Debug"
-!MESSAGE
+!MESSAGE 
+!MESSAGE NMAKE /f "z80a.mak" CFG="z80a - Win32 Release"
+!MESSAGE 
 !MESSAGE Possible choices for configuration are:
-!MESSAGE
+!MESSAGE 
 !MESSAGE "z80a - Win32 Debug" (based on "Win32 (x86) Generic Project")
-!MESSAGE
+!MESSAGE "z80a - Win32 Release" (based on "Win32 (x86) Generic Project")
+!MESSAGE 
 
 # Begin Project
 # PROP AllowPerConfigDependencies 0
 # PROP Scc_ProjName ""
 # PROP Scc_LocalPath ""
 MTL=midl.exe
+
+!IF  "$(CFG)" == "z80a - Win32 Debug"
+
 # PROP BASE Use_MFC 0
 # PROP BASE Use_Debug_Libraries 1
 # PROP BASE Output_Dir "Debug"
@@ -35,45 +39,106 @@ MTL=midl.exe
 # PROP Output_Dir ""
 # PROP Intermediate_Dir ""
 # PROP Target_Dir ""
+
+!ELSEIF  "$(CFG)" == "z80a - 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 ""
+# PROP Intermediate_Dir ""
+# PROP Target_Dir ""
+
+!ENDIF 
+
 # Begin Target
 
 # Name "z80a - Win32 Debug"
-
+# Name "z80a - Win32 Release"
 # Begin Source File
 
 SOURCE=".\peeph-gbz80.def"
+
+!IF  "$(CFG)" == "z80a - Win32 Debug"
+
 # Begin Custom Build
 InputPath=".\peeph-gbz80.def"
 
 "peeph-gbz80.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
-       echo on
        gawk -f ../SDCCpeeph.awk $(InputPath) >peeph-gbz80.rul
 
 # End Custom Build
+
+!ELSEIF  "$(CFG)" == "z80a - Win32 Release"
+
+# Begin Custom Build
+InputPath=".\peeph-gbz80.def"
+
+"peeph-gbz80.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+       gawk -f ../SDCCpeeph.awk $(InputPath) >peeph-gbz80.rul
+
+# End Custom Build
+
+!ENDIF 
+
 # End Source File
 # Begin Source File
 
 SOURCE=".\peeph-z80.def"
+
+!IF  "$(CFG)" == "z80a - Win32 Debug"
+
+# Begin Custom Build
+InputPath=".\peeph-z80.def"
+
+"peeph-z80.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+       gawk -f ../SDCCpeeph.awk $(InputPath) >peeph-z80.rul
+
+# End Custom Build
+
+!ELSEIF  "$(CFG)" == "z80a - Win32 Release"
+
 # Begin Custom Build
 InputPath=".\peeph-z80.def"
 
 "peeph-z80.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
-       echo on
        gawk -f ../SDCCpeeph.awk $(InputPath) >peeph-z80.rul
 
 # End Custom Build
+
+!ENDIF 
+
 # End Source File
 # Begin Source File
 
 SOURCE=".\peeph.def"
+
+!IF  "$(CFG)" == "z80a - Win32 Debug"
+
 # Begin Custom Build
 InputPath=".\peeph.def"
 
 "peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
-       echo on
        gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul
 
 # End Custom Build
+
+!ELSEIF  "$(CFG)" == "z80a - Win32 Release"
+
+# Begin Custom Build
+InputPath=".\peeph.def"
+
+"peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+       gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul
+
+# End Custom Build
+
+!ENDIF 
+
 # End Source File
 # End Target
 # End Project