home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
yacl-012.zip
/
control
/
watmak.ctl
< prev
Wrap
Text File
|
1995-01-09
|
2KB
|
123 lines
# -------------------------------------------------------------------------
# Control file for Watcom C++ make |
#--------------------------------------------------------------------------
#
# ---------------------- What platform do we want? -------------
#
!ifndef YACLPLATFORM
!ifdef __OS2__
YACLPLATFORM = os2
!else ifdef WINDOWS
YACLPLATFORM = windows
!else ifdef __MS_WINDOWS__
YACLPLATFORM = windows
!else ifdef DOS
YACLPLATFORM = dos
!else ifdef MSDOS
YACLPLATFORM = dos
!else
YACLPLATFORM = windows # By default, develop for Windows
!endif
!endif
#
# ---------------------- Path names ----------------------------
#
COMPILERPATH = d:\WATCOM
#
# --------------------- Command names -------------------------
#
COPY = copy
DELETE = del
RENAME = mv
SED = sed
FIND = find
AWK = gawk
LIBR = tlib
CC = wpp386
UNZIP = unzip
ZIP = zip
SH = sh
# ------------- Should not need to change anything below this line --------
YACLPATH = $(%YACLPATH)
YACLLIB = $(YACLPATH)\lib\$(YACLPLATFORM)
INCPATH = /i=$(COMPILERPATH)\h /i=$(YACLPATH)
LIB = $(COMPILERPATH)\LIB;$(YACLLIB)
#
# ---------------------- YACL components --------------------
#
BASE = base
MEMORY = memory
IO = io
BASELIB = $(YACLLIB)\$(BASE).lib
IOLIB = $(YACLLIB)\$(IO).lib
!ifeq YACLPLATFORM windows
# UI is currently only supported under Windows
UI = ui
UILIB = $(YACLLIB)\$(UI).lib
!endif
#
# ---------------------------- Compile options ------------------------
#
# !if !$d(NOINLINE)
# INLINE = -vi
# !endif
#
CCOPTS =
#
#
#
# # Processor options:
#
# WARNINGS = -wbbf -weas -wamb -wamp -wdef -wnod -wstv -wuse -wcln \
# -wucp -wpre
# # -wsig is omitted, because we get lots of those warnings
# CCOPTS = -Pcxx -c -3 -Vf $(DEFINE) $(WINDOWS) $(MODEL) \
# -I$(INCLUDE) $(INLINE)
#
# !if $d(DEBUG)
# CCOPTS = $(CCOPTS) -v -DDEBUG
# !endif
#
# LNKLIB = $(BASE) $(IO) $(UI) $(MEMORY) $(THREED) $(EMU) $(MATH) \
# $(IMPORT) $(CLIB)
# LNKOPTS = $(DEBUG) -L$(YACLPATH)\lib\$(YACLPLATFORM) $(WINLINK) \
# -C -c -m -s -Vt