#
# Common definitions for the OOL samples - Watcom C/C++
#

#
# compiler and linker settings
#
CC      = wpp386
LD      = wlink

CCDBGFLGS       = -bm -bt=os2 -d2 -4r -otexan -xs -zq
CCNODBGFLGS     = -bm -bt=os2 -4r -otexan -xs -zq
CCFLAGS         = $(CCDBGFLGS)

LDDBGFLGS       = debug all format os2 flat pm option symfile option protmode, stack=36000, quiet libr OOLW3W03
LDNODBGFLGS     = format os2 flat pm option protmode, stack=36000, quiet libr OOLW3W03
LDFLAGS         = $(LDDBGFLGS)


#
# how to make .obj and .res files
#
.cpp.obj:
        @echo Compiling $*.cpp
        @$(CC) $(CCFLAGS) $*

.rc.res:
        @echo Compiling $*.rc
        @rc -n -r $*




