#**************************************************************************
#* FILE PURPOSE: Build the simple test program
#**************************************************************************
#* FILE NAME: makefile
#*
#* DESCRIPTION: Builds the following:
#*
#*              simple_him.out    - little endian himalaya mapped program
#*              simple_642_le.out - little endian 642 mapped program
#*              simple_642_be.out - big endian 642 mapped program
#*              simple.i2c.ccs    - boot table/i2c formatted himalaya mapped data
#*              
#***************************************************************************

AOPTS_LE= -g -c -k -mi200 -ml3 -pm -mv6600 --abi=eabi
AOPTS_BE= -me $(AOPTS_LE)
C6000_FOLDER = "C:/ccs/ccs521/ccsv5/tools/compiler/c6000_7.3.4"

all: simple.obj simple.out

simple.out: simple.obj simple.cmd
	cl6x -I$(C6000_FOLDER)/lib -z -e_c_int00 simple.cmd -o simple.out -m simple.map
	
simple.obj: simple.s
	cl6x -I$(C6000_FOLDER)/include $(AOPTS_LE) simple.s

	




