#
#       @(#)Makefile.customer 1.6 90/06/19 
#
#	Makefile for the panels example programs for XView programmers
#

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= ...
#

XVIEW_LIBS 	= -L${OPENWINHOME}/lib \
		  -lxview -lolgx -lX11

CFILES	   	= btn_menu.c \
		  choices.c \
		  client_data.c \
		  item_move.c \
		  list_glyphs.c \
		  panel_repaint.c \
		  quit.c \
		  repaint.c \
		  simple_panel.c \
		  slider.c \
		  stop_frame.c
	   
OBJS	   	= btn_menu \
		  choices \
		  client_data \
		  item_move \
		  list_glyphs \
		  panel_repaint \
		  quit \
		  repaint \
		  simple_panel \
		  slider \
		  stop_frame

all:  ${OBJS}

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

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