• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# -----------------------------------------------
2# Detect NMAKE version deducing old MSVC versions
3# -----------------------------------------------
4
5!IFNDEF _NMAKE_VER
6!  MESSAGE Macro _NMAKE_VER not defined.
7!  MESSAGE Use MSVC's NMAKE to process this makefile.
8!  ERROR   See previous message.
9!ENDIF
10
11!IF     "$(_NMAKE_VER)" == "6.00.8168.0"
12CC_VERS_NUM = 60
13!ELSEIF "$(_NMAKE_VER)" == "6.00.9782.0"
14CC_VERS_NUM = 60
15!ELSEIF "$(_NMAKE_VER)" == "7.00.8882"
16CC_VERS_NUM = 70
17!ELSEIF "$(_NMAKE_VER)" == "7.00.9466"
18CC_VERS_NUM = 70
19!ELSEIF "$(_NMAKE_VER)" == "7.00.9955"
20CC_VERS_NUM = 70
21!ELSE
22# Pick an arbitrary bigger number for all later versions
23CC_VERS_NUM = 199
24!ENDIF
25