#**************************************************************************
#* FILE PURPOSE: Build the simple test program
#**************************************************************************
#* FILE NAME: makefile
#*
#* DESCRIPTION: Builds the following:
#*
#*              spiboot.out    	- little endian program to show spiboot
#*              
#***************************************************************************

AOPTS_LE= -g -c -k -mi200 -ml3 -pm -mv6600 --abi=eabi
AOPTS_BE= -me $(AOPTS_LE)
C6000_FOLDER = "C:/ti/ccsv5/tools/compiler/c6000_7.4.5
#CSL_FOLDER= "C:/MCSDK/mcsdk_02_02_01_05/pdk_C6678_1_1_2_5/packages/ti/csl/lib"
#PDK_PACKAGES = "C:/MCSDK/mcsdk_02_02_01_05/pdk_C6678_1_1_2_5/packages"
#CSL_LIB = "ti.csl.ae66"
#CSL_INTC_LIB = "ti.csl.intc.ae66"

all: spiboot.obj spiboot.out

spiboot.out: spiboot.cmd spiboot.c
	cl6x -I$(C6000_FOLDER)/lib -z -e_c_int00 --unused_section_elimination=off spiboot.cmd -o spiboot.out -m spiboot.map 

spiboot.obj: spiboot.c
	cl6x -I$(C6000_FOLDER)/include $(AOPTS_LE) spiboot.c
