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



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

CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} -lcom_err ${XCFLAGS} ${ARCHFLAGS}

all: test

install: 

#
# Build targets
#
test:	test.o test1.o test2.o 
	$(CC)  ${CFLAGS} -o test 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 libcom_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: 

