# makefile
# This is the makefile for Borland C
# (if you have Turbo_C, change variable CC32 below)
# 
# To compile, please set variables CC32

#########################################################################
# Borland C 32bit Compiler (tested with BC 4.52, 5.0)
# uncomment the next line if you want to use ldir/lread under Windows NT
CC32=bcc32
#
##########################################################################

####no user configurable items below this line############################


LKFLAGS=-C -3 -wall -N -DSTRICT $(WIN) $(MODEL) -O2
CCFLAGS= -c $(LKFLAGS)

lreadsrv:       32bitObj
                $(CC32) $(LKFLAGS) LREADsrv.c
                @if exist ..\bin\LREADsrv.exe  del ..\bin\LREADsrv.exe
                @move LREADsrv.exe ..\bin
		@copy ZZZ*.htm ..\bin
		@copy ZZZ*.gif ..\bin

32bitObj:       LREADsrv.obj


LREADsrv.obj:   $(INCLUDES) LREADsrv.c
                $(CC32) $(CCFLAGS) LREADsrv.c

clean:
		@if exist *.obj   del *.obj
		@if exist *.sym   del *.sym
		@if exist *.bak   del *.bak
		@if exist *.exe   del *.exe
		@if exist zzz.zwz del zzz.zwz
		@if exist ..\bin\zzz.zwz del ..\bin\zzz.zwz
