#
# ~ppr/src/indexttf/Makefile
# Copyright 1995, 1996, 1997, Trinity College Computing Center.
# Written by David Chappell.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose and without fee is hereby granted, provided
# that the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation.  This software is provided "as is" without express or
# implied warranty.
#
# This file was last modified 6 January 1997.
#

include ../include/global.mk

indexttf$(DOTEXE): indexttf.c ../include/global_defines.h ../libppr.$(LIBEXT)
	$(CC) $(CFLAGS) \
		-DTT_DBM_$(TT_DBM) -o indexttf$(DOTEXE) indexttf.c \
		../libppr.$(LIBEXT) $(DBLIBS)
	$(STRIP) indexttf$(DOTEXE)

install: indexttf$(DOTEXE)
	$(CP) indexttf$(DOTEXE) $(HOMEDIR)/bin/indexttf$(DOTEXE)

clean:
	rm -f *.bak *~ *.$(OBJ) indexttf$(DOTEXE)

# end of file
