# @(#)Makefile.customer	1.2 91/09/14
#
#	Makefile for the OLIT oldials example program
#		This program demonstrates the use of the X input extension
#		and requires a Sun-dials box.
#

INCLUDE		= -I${OPENWINHOME}/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= ...
#

OLIT_LIBS	= -L${OPENWINHOME}/lib \
		  -lXol -lXt -lXinput -lX11

CFILES		= oldials.c
	   
OBJS		= oldials

all:  ${OBJS}

${OBJS}: $$@.c $$@.o 
	${CC} ${CFLAGS} ${LDFLAGS} -o $@ $@.o ${OLIT_LIBS}

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