# cvsid: $Id: Makefile.sample,v 1.3 2006/05/02 12:48:27 rjs Exp $
#
# sample Makefile for TET applications
# This may have to be changed for your build environment


CPPFLAGS= -I../c/include
LDFLAGS	= -L../c/lib
LDLIBS	= tet.o -ltet -lm

# use the following for Mac OS X...
#LDLIBS	= tet.o -ltet -lm -framework ApplicationServices

# ...and make sure to set the search path for dynamic libraries, e.g.
# (in the shell) unless you already installed TET in the system:

#DYLD_LIBRARY_PATH=./lib make test

PROGS	= \
	extractor \

all: tet.o $(PROGS)

test: all
	-./extractor ../../doc/TET-license.pdf TET-license.txt

clean:
	$(RM) $(PROGS) *.o TET-manual.txt
