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

INCLUDE		= -I${OPENWINHOME}/usr/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}/usr/lib \
		  -lxview -lolgx -lX11

SUBDIRS		= canvas \
		  color \
		  cursor \
		  defaults \
		  extensions \
		  fonts \
		  frames \
		  icons \
		  menus \
		  misc \
		  notice \
		  notifier \
		  panels \
		  scrollbar \
		  seln_svc \
		  sv_compat \
		  textsw

all:
	-@for i in ${SUBDIRS}; do \
	(	echo "<<< Descending into directory: $$i >>>"; \
		cd $$i; \
		${MAKE} ${MFLAGS} "OPENWINHOME=$(OPENWINHOME)" all; \
		cd ..; \
	); done

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