srcdir=@srcdir@
include @TOP_OBJDIR@/src/config/Makefile.config

LDIRS=-L${TOP_LIBDIR} -L${DESTDIR}/lib/afs -L..

all: test

install:

#
# Build targets
#
test:	test.o test1.o test2.o
	$(AFS_LDRULE) ${LDIRS} -lafscom_err test.o test1.o test2.o

test.o:	test1.h test2.h
test1.o : test1.c
test1.c : test1.et
test2.o : test2.c
test2.c : test2.et

#
# Misc targets
#
clean:
	$(RM) -f *~ \#* *.bak \
		*.otl *.aux *.toc *.PS *.dvi *.x9700 *.ps \
		*.cp *.fn *.ky *.log *.pg *.tp *.vr \
		*.o *.a libafscom_err.a \
		com_err.o compile_et \
		et.ar TAGS y.tab.c lex.yy.c error_table.c \
		et_lex.lex.c \
		test1.h test1.c test2.h test2.c test \
		eddep makedep core

dest:

