#
#       @(#)Makefile.customer	1.2
#
#	Makefile for the example programs for Olit programmers
#

DESTDIR =
INCLUDE =	-I${DESTDIR}/include

#
# If you want to compile for debugging, change "-O" to "-g"
#

CFLAGS =	${INCLUDE} -O

# if you want special to pass special loader options to ld, set
# LDFLAGS= ...
#

LIBS =		-L${DESTDIR}/lib \
		-lXol \
		-lXt \
		-lX11

ALL =		unit_test1 \
		unit_test2 \
		unit_test3 \
		unit_test4 \
		unit_test5 \
		unit_test6 \
		unit_test7 \
		unit_test8 \
		unit_test9

all:		${ALL}

$(ALL):		$$@.o
		$(RM) $@
		$(CC) -o $@ $@.o $(CFLAGS) $(LDFLAGS) $(LIBS)

clean:
		rm -f core ${ALL} *.o
