APPNAME = TSTCHK
INCPATH = C:\BC5\INCLUDE
LIBPATH = C:\BC5\LIB

COMPILER = BCC32.EXE
FLAGS = -W -w4 -I$(INCPATH) -L$(LIBPATH)

!if $d(DEBUG)
FLAGS = $(FLAGS) -v
!endif

# LINKING
$(APPNAME).exe: $(APPNAME).obj
   implib ..\..\..\..\evchk32.lib evchk32.def
   $(COMPILER) $(FLAGS) -l-V4.0 $(APPNAME).obj ..\..\..\..\evchk32.lib

# COMPILING
$(APPNAME).obj: $(APPNAME).c
   $(COMPILER) -c $(FLAGS) $(APPNAME).c



