-!IF "$(CFG)" == ""
-CFG=debug
+!IF "$(BLDCFG)" == ""
+BLDCFG=debug
!ENDIF
-!IF "$(CFG)" != "release" && "$(CFG)" != "debug"
-!MESSAGE Invalid configuration "$(CFG)" specified.
+!IF "$(BLDCFG)" != "release" && "$(BLDCFG)" != "debug"
+!MESSAGE Invalid configuration "$(BLDCFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE by defining the macro BLDCFG on the command line. For example:
!MESSAGE
-!MESSAGE nmake /f makefile CFG=debug
+!MESSAGE nmake /f makefile BLDCFG=debug
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
-!IF "$(CFG)" == ""
-CFG=debug
+!IF "$(BLDCFG)" == ""
+BLDCFG=debug
!ENDIF
-!IF "$(CFG)" != "release" && "$(CFG)" != "debug"
-!MESSAGE Invalid configuration "$(CFG)" specified.
+!IF "$(BLDCFG)" != "release" && "$(BLDCFG)" != "debug"
+!MESSAGE Invalid configuration "$(BLDCFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE by defining the macro BLDCFG on the command line. For example:
!MESSAGE
-!MESSAGE nmake /f makefile CFG=debug
+!MESSAGE nmake /f makefile BLDCFG=debug
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
RLIB_LIB="$(RPATK_DIR)\rlib\build\$(PORT)\$(ARCH)\out\rlib.lib"
INCLUDE_DIRS=/I"$(SRC_DIR)" /I"$(SRC_DIR)\win32" /I"$(RPATK_DIR)" /I"$(RPATK_DIR)\arch\$(PORT)\$(ARCH)"
-!IF "$(CFG)" == "release"
+!IF "$(BLDCFG)" == "release"
OUTDIR=.\out
CPP_FLAGS=/nologo $(INCLUDE_DIRS) /Zp1 /ML /W3 /EHsc /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /YX /Fo"$(OUTDIR)\\" /FD /c
LINK_DEBUG=
-!ELSEIF "$(CFG)" == "debug"
+!ELSEIF "$(BLDCFG)" == "debug"
OUTDIR=.\out
CPP_FLAGS=/nologo $(INCLUDE_DIRS) /Zp1 /MLd /Zi /W3 /EHsc /Od /D "WIN32" /D "_DEBUG" /D "DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /YX /Fo"$(OUTDIR)\\" /FD /c
-!IF "$(CFG)" == ""
-CFG=debug
+!IF "$(BLDCFG)" == ""
+BLDCFG=debug
!ENDIF
-!IF "$(CFG)" != "release" && "$(CFG)" != "debug"
-!MESSAGE Invalid configuration "$(CFG)" specified.
+!IF "$(BLDCFG)" != "release" && "$(BLDCFG)" != "debug"
+!MESSAGE Invalid configuration "$(BLDCFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE by defining the macro BLDCFG on the command line. For example:
!MESSAGE
-!MESSAGE nmake /f makefile CFG=debug
+!MESSAGE nmake /f makefile BLDCFG=debug
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
RLIB_LIB="$(RPATK_DIR)\rlib\build\$(PORT)\$(ARCH)\out\rlib.lib"
INCLUDE_DIRS=/I"$(SRC_DIR)" /I"$(SRC_DIR)\win32" /I"$(RPATK_DIR)" /I"$(RPATK_DIR)\arch\$(PORT)\$(ARCH)"
-!IF "$(CFG)" == "release"
+!IF "$(BLDCFG)" == "release"
OUTDIR=.\out
CPP_FLAGS=/nologo $(INCLUDE_DIRS) /Zp1 /ML /W3 /EHsc /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /Fo"$(OUTDIR)\\" /FD /c
LINK_DEBUG=
-!ELSEIF "$(CFG)" == "debug"
+!ELSEIF "$(BLDCFG)" == "debug"
OUTDIR=.\out
CPP_FLAGS=/nologo $(INCLUDE_DIRS) /Zp1 /MLd /Zi /W3 /EHsc /Od /D "WIN32" /D "_DEBUG" /D "DEBUG" /D "_CONSOLE" /YX /Fo"$(OUTDIR)\\" /FD /c
-!IF "$(CFG)" == ""
-CFG=debug
+!IF "$(BLDCFG)" == ""
+BLDCFG=debug
!ENDIF
-!IF "$(CFG)" != "release" && "$(CFG)" != "debug"
-!MESSAGE Invalid configuration "$(CFG)" specified.
+!IF "$(BLDCFG)" != "release" && "$(BLDCFG)" != "debug"
+!MESSAGE Invalid configuration "$(BLDCFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE by defining the macro BLDCFG on the command line. For example:
!MESSAGE
-!MESSAGE nmake /f makefile CFG=debug
+!MESSAGE nmake /f makefile BLDCFG=debug
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
INCLUDE_DIRS=/I"$(RPATK_DIR)" /I"$(RPATK_DIR)\arch\$(PORT)\$(ARCH)"
-!IF "$(CFG)" == "release"
+!IF "$(BLDCFG)" == "release"
OUTDIR=.\out
CPP_FLAGS=/nologo $(INCLUDE_DIRS) /Zp1 /W3 /EHsc /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /Fo"$(OUTDIR)\\" /FD /c
-!ELSEIF "$(CFG)" == "debug"
+!ELSEIF "$(BLDCFG)" == "debug"
OUTDIR=.\out
CPP_FLAGS=/nologo $(INCLUDE_DIRS) /Zp1 /Zi /W3 /EHsc /Od /D "WIN32" /D "_DEBUG" /D "DEBUG" /D "R_DEBUG_MEMALLOC" /D "_CONSOLE" /Fo"$(OUTDIR)\\" /FD /c
-!IF "$(CFG)" == ""
-CFG=debug
+!IF "$(BLDCFG)" == ""
+BLDCFG=debug
!ENDIF
-!IF "$(CFG)" != "release" && "$(CFG)" != "debug"
-!MESSAGE Invalid configuration "$(CFG)" specified.
+!IF "$(BLDCFG)" != "release" && "$(BLDCFG)" != "debug"
+!MESSAGE Invalid configuration "$(BLDCFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE by defining the macro BLDCFG on the command line. For example:
!MESSAGE
-!MESSAGE nmake /f makefile CFG=debug
+!MESSAGE nmake /f makefile BLDCFG=debug
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
INCLUDE_DIRS=/I"$(RPATK_DIR)" /I"$(RPATK_DIR)\arch\$(PORT)\$(ARCH)"
-!IF "$(CFG)" == "release"
+!IF "$(BLDCFG)" == "release"
OUTDIR=.\out
CPP_FLAGS=/nologo $(INCLUDE_DIRS) /Zp1 /W3 /EHsc /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /Fo"$(OUTDIR)\\" /FD /c
-!ELSEIF "$(CFG)" == "debug"
+!ELSEIF "$(BLDCFG)" == "debug"
OUTDIR=.\out
CPP_FLAGS=/nologo $(INCLUDE_DIRS) /Zp1 /Zi /W3 /EHsc /Od /D "WIN32" /D "_DEBUG" /D "DEBUG" /D "_CONSOLE" /Fo"$(OUTDIR)\\" /FD /c
-!IF "$(CFG)" == ""
-CFG=debug
+!IF "$(BLDCFG)" == ""
+BLDCFG=debug
!ENDIF
-!IF "$(CFG)" != "release" && "$(CFG)" != "debug"
-!MESSAGE Invalid configuration "$(CFG)" specified.
+!IF "$(BLDCFG)" != "release" && "$(BLDCFG)" != "debug"
+!MESSAGE Invalid configuration "$(BLDCFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE by defining the macro BLDCFG on the command line. For example:
!MESSAGE
-!MESSAGE nmake /f makefile CFG=debug
+!MESSAGE nmake /f makefile BLDCFG=debug
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
INCLUDE_DIRS=/I"$(RPATK_DIR)" /I"$(RPATK_DIR)\arch\$(PORT)\$(ARCH)"
-!IF "$(CFG)" == "release"
+!IF "$(BLDCFG)" == "release"
OUTDIR=.\out
CPP_FLAGS=/nologo $(INCLUDE_DIRS) /Zp1 /W3 /EHsc /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /Fo"$(OUTDIR)\\" /FD /c
-!ELSEIF "$(CFG)" == "debug"
+!ELSEIF "$(BLDCFG)" == "debug"
OUTDIR=.\out
CPP_FLAGS=/nologo $(INCLUDE_DIRS) /Zp1 /Zi /W3 /EHsc /Od /D "WIN32" /D "_DEBUG" /D "DEBUG" /D "_CONSOLE" /Fo"$(OUTDIR)\\" /FD /c