

## 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 : helidemo.exe tiles.dat helibody.ssp heliblad.ssp helitail.ssp cloud.ssp .SYMBOLIC

###############################
####   Compiling & Linking

helidemo.exe : helidemo.obj $(LIB_NAME)
   wlink $(LINK_OPTIONS) file helidemo,$(LIB_NAME) name helidemo

helidemo.obj : helidemo.c
   wcc386 $(C_OPTIONS) helidemo.c

###############################
####   Graphics Capturing

tiles.dat : tiles.pcx
   ..\CAPT-TIL 32 32 TILES.PCX TILES.DAT

helibody.ssp : helibod1.pcx helibod2.pcx
   ..\CAPT-SSP HELIBOD1.PCX HELIBOD2.PCX HELIBODY.SSP

heliblad.ssp : heliblad.pcx
   ..\CAPT-SSP HELIBLAD.PCX HELIBLAD.SSP

helitail.ssp : helitail.pcx
   ..\CAPT-SSP HELITAIL.PCX HELITAIL.SSP

cloud.ssp : cloud.pcx
   ..\CAPT-SSP CLOUD.PCX CLOUD.SSP
