########################################################################
#			Target
########################################################################

TARGET_PROCESSOR = spu
LIBRARY = ../../lib/spu/libmoc_spu.a
VPATH := dma/ communication/ system/ internal/ internal/dma
VPATH += ../noarch/communication ../noarch/system/ ../noarch/internal/ ../noarch/internal/communication/


########################################################################
#			Local Defines
########################################################################


INCLUDE		+=  -I ../../include/
#CPPFLAGS	+=  -fmem-report -save-temps -fverbose-asm 
CPPFLAGS	+= -fno-strict-aliasing -D__SPU__


# Use Time of Day as Time-Source for the SPUs
#CPPFLAGS	+=  -DMOC_SPU_TIMESOURCE_TIMEOFDAY


# Use the SPU-Decrementer as Time-Source for the SPUs
CPPFLAGS	+=  -DMOC_SPU_TIMESOURCE_SPUTIME
# the following is only necessary if your are using Cell SDK 3.0
#CPPFLAGS	+=  -I/opt/cell/sysroot/opt/cell/sdk/prototype/usr/spu/include/


########################################################################
#			buildutils/make.footer
########################################################################

ifdef CELL_TOP
	include $(CELL_TOP)/buildutils/make.footer
else
	include /opt/cell/sdk/buildutils/make.footer
endif
