# Makefile for sensors
# @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${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris

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

#
# The Source files
#
SOURCES = DragSensorProxy.cpp TimeSensorProxy.cpp VisibilitySensorProxy.cpp ProximitySensorProxy.cpp TouchSensorProxy.cpp

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

all: ${OBJS} 

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

clean :
	rm -rf *.o
