# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose and without fee is hereby granted, provided
# that the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of I.B.M. not be used in advertising
# or publicity pertaining to distribution of the software without specific,
# written prior permission. I.B.M. makes no representations about the
# suitability of this software for any purpose.  It is provided "as is"
# without express or implied warranty.
#
# I.B.M. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL I.B.M.
# BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
#
#

CC        =  cc

# uncomment next line for Sun's OpenGL 
#INCLUDES = -I$(OGLHOME)/include -I/usr/openwin/include


# comment out next line for Sun's OpenGL
CFLAGS    = -I../libtk -O

#uncomment next line for Sun's OpenGL
#CFLAGS    = -I../libtk $(INCLUDES) -O

OBJS = 	\
	aux.o \
	teapot.o \
	vect3d.o \
	xform.o

TKOBJS = \
	../libtk/shapes.o \
	../libtk/font.o \
	../libtk/image.o \
	../libtk/event.o \
	../libtk/cursor.o \
	../libtk/getset.o \
	../libtk/window.o

libaux.a: $(OBJS) $(TKOBJS)
	ar rv $@ $?

clean :
	rm -f ${OBJS} libaux.a
