#
# @(#)Makefile.customer	1.4 91/09/14  SMI
#
# Makefile for the Olit Programmer's Guide's Examples
#
 
INCLUDE =	-I. -I${OPENWINHOME}/include

#
# If you want to compile for debugging, change "-O" to "-g"
#

CFLAGS		= ${INCLUDE} -g

# if you want special to pass special loader options to ld, set
# LDFLAGS= ...
#

LIB  =		libXs.a

SRCS =		concat.c \
		invert.c \
		talkto.c \
		wprintf.c \
		insert.c \
		pix_buttons.c \
		str2ver.c \
		xor.c \
		send_msg.c \
		create_button.c
	   
OBJS =		${SRCS:.c=.o}

all:		${LIB}

${LIB}:		${OBJS}
		ar ruv $(LIB) $?
		ranlib $(LIB)

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