targos.mif

来自「开放源码的编译器open watcom 1.6.0版的源代码」· MIF 代码 · 共 47 行

MIF
47
字号
!ifndef targos
    #
    # define targos according to what os wmake was spawned under
    #
!   ifdef __OS2__
targos          = os2386
!   else ifdef __MSDOS__
targos          = dos
!   else ifdef __NT__
targos          = nt386
!   else ifdef __QNX__
targos          = qnx
!   else
!       error   targos (operating system) must be defined
!   endif
!endif

#
# validate the targos the user defined
#
!ifeq        targos  dos
host_OS = dos
host_CPU = i86
!else ifeq   targos  dosos2
host_OS = os2
host_CPU = i86
!else ifeq   targos  os2386
host_OS = os2
host_CPU = 386
!else ifeq   targos  pharlap
host_CPU = 386
!else ifeq   targos  nt386
host_OS = nt
host_CPU = 386
!else ifeq   targos  qnx
host_OS = qnx
host_CPU = 386
!else ifeq   targos  qnx16
host_OS = qnx
host_CPU = i86
!else ifeq   targos  ntaxp
host_OS = nt
host_CPU = axp
!else
!    error   targos is not a recognized target
!endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?