#       LIB is directory for object code for the diction program
#       DICT is the data file for diction
#       if defined, CATCH is for collecting data from diction
#       if you don't want data, remove the definition of CATCH
#
CFLAGS = -O
I      = /usr/include
LIB    = /usr/lib/diction
DICT   = -DDICT=\"/usr/lib/diction/diction.d\"
CATCH  =
# CATCH  = -DCATCH=\"/usr/lib/diction/diction.save\"

diction1:       diction1.c      $I/stdio.h $I/ctype.h
	cc -n $(CFLAGS) -o diction1 $(DICT) $(CATCH) diction1.c

$(LIB)/diction:  $(LIB)/diction1
$(LIB)/diction1: diction1
	/etc/instcmd diction1 $(LIB)/diction1

