# this is a Borland makefile

CATS=C:\jhall\cats

CC=bcc
CFLAGS=-I$(CATS)\include -I.\getopt
LDFLAGS=
LDLIBS=$(CATS)\lib\catdb.lib getopt\getopt.obj

all: libs find.exe

libs:
	cd getopt
	$(MAKE) getopt.obj
	cd ..

find.exe: find.obj find_str.obj
	$(CC) $(CFLAGS) $(LDFLAGS) find.obj find_str.obj $(LDLIBS)

realclean clean:
	-del *.obj
	cd getopt
	-del *.obj
	cd ..

distclean: clean
	-del *.exe
