#
#       @(#)Makefile.customer 1.7 90/06/19 
#
#	Makefile for the misc 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		= drag_n_drop.c \
		  fullscreen.c \
		  multi_display.c \
		  multiscreen.c \
		  screen.c \
		  svrimage.c
	   

OBJS		= drag_n_drop \
		  fullscreen \
		  multi_display \
		  multiscreen \
		  screen \
		  svrimage

all:  ${OBJS}

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

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