Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
227 dpurdie 1
# -*- mode: mak; -*-
2
###############################################################################
3
# File:         TOOLSET/wcdos.def
4
# Contents:     WATCOM defines
5
###############################################################################
6
 
7
toolset		= wcdos
8
 
9
o		= obj
10
s		= asm
11
a		= lib
12
exe		= .exe
13
 
14
.SUFFIXES:	.asm
15
 
16
.PHONY:		watcom
17
watcom:
7300 dpurdie 18
	@$(echo) '[Toolset WCDOS - Watcom C/C++ 16 bit]'; \
19
	if [ -z "$$WATCOM" ]; then echo "WATCOM env var not set"; exit 2; fi
227 dpurdie 20
 
21
 
22
watcom		:= $(subst \,/,$(strip $(WATCOM)))
23
ifeq "$(findstring $(PATH),$(WATCOM))" ""
24
PATH		:= $(PATH);$(watcom)/bin;$(watcom)/binb
25
endif
26
 
27
ifdef MASM
28
masm		:= $(subst \,/,$(strip $(MASM)))
29
ifneq "$(masm)" ""
30
ifeq "$(findstring $(PATH),$(MASM))" ""
31
PATH		:= $(PATH);$(masm)/bin
32
endif
33
endif
34
else
35
masm		:=
36
endif
37
 
38
ifdef TASM
39
tasm		:= $(subst \,/,$(strip $(TASM)))
40
ifneq "$(tasm)" ""
41
ifeq "$(findstring $(PATH),$(TASM))" ""
42
PATH		:= $(PATH);$(tasm)/bin
43
endif
44
endif
45
else
46
tasm		:=
47
endif
48
 
49
#