#
#	Athena X window system XMenu system tests makefile.
#
#		Written by:	Tony Della Fera, DEC
#				20-Nov-85
#

DESTDIR =
INCLUDES = -I../../include

C2 = /lib/c2
CFLAGS = $(OPT) $(DEBUG) ${INCLUDES}
XLIB = ../../Xlib/libX.a
XLIB_H = ../../Xlib/Xlib.h

all:	posttest \
	rstest  \
	acttest \
	deltest \
	instest

#
# Library tests
#

posttest: posttest.o ../libXMenu.a ${XLIB_H}
	$(CC) $(CFLAGS) -o posttest posttest.o \
		../libXMenu.a ${XLIB}

rstest: rstest.o ../libXMenu.a ${XLIB_H}
	$(CC) $(CFLAGS) -o rstest rstest.o \
		../libXMenu.a ${XLIB}

acttest: acttest.o ../libXMenu.a ${XLIB_H}
	$(CC) $(CFLAGS) -o acttest acttest.o \
		../libXMenu.a ${XLIB}

deltest: deltest.o ../libXMenu.a ${XLIB_H}
	$(CC) $(CFLAGS) -o deltest deltest.o \
		../libXMenu.a ${XLIB}

instest: instest.o ../libXMenu.a ${XLIB_H}
	$(CC) $(CFLAGS) -o instest instest.o \
		../libXMenu.a ${XLIB}

clobber: 
	rm -f *.o *.a core *.[ch].[0-9]* *.bak *~ #*
	rm -f posttest posttest_p
	rm -f rstest rstest_p
	rm -f acttest acttest_p
	rm -f deltest deltest_p
	rm -f instest instest_p

#####     End of makefile     #####
