

## Remove # below for final compile
FINAL = YES

!ifdef FINAL
LIB_NAME = ..\SSE10FL.LIB
C_OPTIONS   = -wx -oenatx -5r -j
LINK_OPTIONS = option dosseg system dos4g
!else
LIB_NAME = ..\SSE10DL.LIB
C_OPTIONS   = -od -d2 -3r -wx -j
LINK_OPTIONS = debug all option dosseg system dos4g
!endif


allofthem : ..\capt-ssp.exe ..\capt-pal.exe ..\capt-til.exe ..\capt-fnt.exe .SYMBOLIC


..\capt-ssp.exe : capt-ssp.obj $(LIB_NAME)
   wlink $(LINK_OPTIONS) file capt-ssp,$(LIB_NAME) name ..\capt-ssp

..\capt-pal.exe : capt-pal.obj $(LIB_NAME)
   wlink $(LINK_OPTIONS) file capt-pal,$(LIB_NAME) name ..\capt-pal

..\capt-til.exe : capt-til.obj $(LIB_NAME)
   wlink $(LINK_OPTIONS) file capt-til,$(LIB_NAME) name ..\capt-til

..\capt-fnt.exe : capt-fnt.obj $(LIB_NAME)
   wlink $(LINK_OPTIONS) file capt-fnt,$(LIB_NAME) name ..\capt-fnt

capt-pal.obj : capt-pal.c
   wcc386 $(C_OPTIONS) capt-pal.c

capt-til.obj : capt-til.c
   wcc386 $(C_OPTIONS) capt-til.c

capt-ssp.obj : capt-ssp.c
   wcc386 $(C_OPTIONS) capt-ssp.c

capt-fnt.obj : capt-fnt.c
   wcc386 $(C_OPTIONS) capt-fnt.c
