#Makefile for Starter Toolkit Library (OLIT version). 
#It assumes that the Paper widget has already been created
#in ../pwidget and that definition files are in ../include

INCLUDE	=	-I${OPENWINHOME}/include
WSET		=	-DOLIT
RANLIB	=	ranlib

CFLAGS	=	${INCLUDE} -I../include -g ${WSET}

#Paper widget
PP_LIB	   =	../pwidget/paper.o

#basic Starter Toolkit library
START_LIB  =	p_mate.o p_use.o p_pix.o \
		p_util.o p_rast.o p_panel.o

#widget prototypes
PP_WDT_LIB	=	slider.o dialog.o pixwin.o

libStW.a:	$(START_LIB) $(PP_LIB) $(PP_WDT_LIB)
		ar rv libStW.a $(PP_WDT_LIB) $(START_LIB) $(PP_LIB)
		${RANLIB} libStW.a

START_LIB:	../include/Starter.h
