#
# This is part of the ANL/MCS/FL CAVEav distribution.
#     written by Ivan R. Judson
#
#

CAVEINC = -I/usr/local/CAVE/include
CAVELIB = -L/usr/local/CAVE/lib

APPINCS  = -I../include
APPLIBS  = -L../lib

LIBS = -lCAVEav -lcave_ogl -lGLU -lGL -lX11 -lXi -lm

CFLAGS = -32 -O2 $(APPINCS) $(CAVEINC) $(CAVELIB) $(APPLIBS) 

CC = CC 
C  = cc

.c.o:	$?
	$(C) $(CFLAGS) -c $?

.C.o:	$?
	$(CC) $(CFLAGS) -c $?

example:	example.o
	$(CC) $(CFLAGS) -o $@ example.o $(LIBS)

install:
	cp example ../bin
clean:
	/bin/rm -f *.o *~ core example