# -*- mode: mak; -*- ############################################################################### # File: TOOLSET/wcdos.def # Contents: WATCOM defines ############################################################################### toolset = wcdos o = obj s = asm a = lib exe = .exe .SUFFIXES: .asm .PHONY: watcom watcom: @$(echo) [Toolset WCDOS - Watcom C/C++ 16 bit]; \ if [ -z "$$WATCOM" ]; then echo WATCOM env var not set; exit 2; fi watcom := $(subst \,/,$(strip $(WATCOM))) ifeq "$(findstring $(PATH),$(WATCOM))" "" PATH := $(PATH);$(watcom)/bin;$(watcom)/binb endif ifdef MASM masm := $(subst \,/,$(strip $(MASM))) ifneq "$(masm)" "" ifeq "$(findstring $(PATH),$(MASM))" "" PATH := $(PATH);$(masm)/bin endif endif else masm := endif ifdef TASM tasm := $(subst \,/,$(strip $(TASM))) ifneq "$(tasm)" "" ifeq "$(findstring $(PATH),$(TASM))" "" PATH := $(PATH);$(tasm)/bin endif endif else tasm := endif #