# Makefile for interpolators
# @authors Prashanth Gujjeti (prashanth.gujjeti@sun.com)
# @ 03/27/2003


#PORTING to Java 2
#JAVA_HOME = /usr/java1.1
# Include path
#
INCLUDE_PATH= -I. -I./../../Include -I./../../Core -I./../../ -I./../../Player3d  -I./../../script/JSWrap -I./../../script/JSWrap/SunOS5.9 -I./../../script/encoder \
-I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris


#
#
#Compiler
CC = CC 
#
#Debugging flag
DEBUG_FLAG = -g

#
# The Source files
#
SOURCES = ColorInterpolatorProxy.cpp OrientationInterpolatorProxy.cpp CoordinateInterpolator2DProxy.cpp PositionInterpolator2DProxy.cpp CoordinateInterpolatorProxy.cpp PositionInterpolatorProxy.cpp InterpolatorNodeProxy.cpp ScalarInterpolatorProxy.cpp NormalInterpolatorProxy.cpp


OBJS = ${SOURCES:%.cpp=%.o}

all: ${OBJS} 

%.o:%.cpp
	$(CC) $(INCLUDE_PATH) $(DEBUG_FLAG) -c -DPLAYER3D -DPERCEPTUAL_AUDIO -DADV_AUDIO -DMIRALABFACE -DCPLUSPLUS -DMPGJ -D__UNIX -Kpic $?

clean :
	rm -rf *.o
