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

#
#
#Compiler
CC = CC

#
#Debugging flag
DEBUG_FLAG = -g
#
# The Source files
#
SOURCES:sh = ls *.cpp

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

all: ${OBJS} 

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

clean :
	rm -rf *.o
