# Generated by Code Composer Studio

# Makefile for C:\CCStudio_v3.1\boards\DSK5509A_V1\examples\test\test.pjt
# This makefile is intended to be compatible with any version of make.
#
# USAGE
# Step 1: Set up proper environment variables, by running DosRun.bat
#         (Windows platform) or set them up by yourself.
# Step 2: Change directory to the directory of this makefile, which is stored
#         in the macro MAKEFILE_DIR
# Step 3: In the makefile directory, you can perform one of these operations:
#         To build the configuration <config>, type make <config>
#         To clean the configuration <config>, type make <config>clean
#         To rebuild the configuration <config>, type make <config>rebuild
#         If <config> is not specified, the operations apply to the active
#         configuration, which is stored in the macro ACTIVE_CONFIG.
# For CCS gmake users: In the makefile directory, you can perform one of these operations:
#         To build the configuration <config>, type gmake projectName.mak <config>
#         To clean the configuration <config>, type gmake <config>clean
#         To rebuild the configuration <config>, type gmake <config>rebuild
#         If <config> is not specified, the operations apply to the active
#         configuration, which is stored in the macro ACTIVE_CONFIG.
#
# DETAILS
# Step 1:
#   In order for this makefile to work, you must have the environment variables
# set properly.  Specifically, the paths to build programs and the system-wide
# header files and library files must be set.
#   In Windows, a batch file "DosRun.bat", located at the root directory of
# the Code Composer Studio installation, is provided to set up these variables.
#   In UNIX, you can set up these environment variables yourself.  The "PATH"
# variable must include the paths to the build programs, and the "C_DIR" and
# "A_DIR" variables must include the paths to the system-wide header files and
# library files.
#
# Step 2:
#   System files referenced by this project are specified in full path names,
# while other files in this project are specified in path names relative to the
# directory of this makefile.  These directory names are stored in DIR_x macros.
# You can modify them to reflect the locations of the files on this system.
#   It is important that the command to make this makefile is issued from the
# directory of this makefile, which is stored in the macro MAKEFILE_DIR.
#
# Step 3:
#   There are three operations that can be performed on a build configuration:
# make, clean, and rebuild. A rebuild forces all files in the configuration to
# be rebuilt.
# To build the configuration <config>, type make <config>
# To clean the configuration <config>, type make <config>clean
# To rebuild the configuration <config>, type make <config>rebuild
#   If <config> is not specified, the operations apply to the active
# configuration. The active configuration can be any valid build configuration
# (including "all") and is specified in the macro ACTIVE_CONFIG.
# To build the active configuration, type make
# To clean the active configuration, type make clean
# To rebuild the active configuration, type make rebuild
#
# For CCS gmake users:
#   There are three operations that can be performed on a build configuration:
# make, clean, and rebuild. A rebuild forces all files in the configuration to
# be rebuilt.
# To build the configuration <config>, type gmake projectName.mak <config>
# To clean the configuration <config>, type gmake <config>clean
# To rebuild the configuration <config>, type gmake <config>rebuild
#   If <config> is not specified, the operations apply to the active
# configuration. The active configuration can be any valid build configuration
# (including "all") and is specified in the macro ACTIVE_CONFIG.
# To build the active configuration, type gmake
# To clean the active configuration, type gmake clean
# To rebuild the active configuration, type gmake rebuild

# The MKFLAGS macro takes the place of the MFLAGS or MAKEFLAGS macro. If it
# gives you any trouble, just delete the macro. It is used when recursively
# calling make (i.e. when rebuilding)
MKFLAGS= $(MFLAGS)$(MAKEFLAGS)

MAKEFILE_DIR= $(TI_DIR)\boards\DSK5509A_V1\examples\test

# The active configuration can be one of these valid build configurations:
# all, Debug, DSKDiags
ACTIVE_CONFIG= Debug

# These DIR_x macros store the directories of the files used in this project.
# There must be no trailing spaces after these macros.

DIR_1= $(TI_DIR)\plugins\bios

DIR_2= Debug

DIR_3= $(TI_CSLDIR)\include

DIR_4= ..\..\include

DIR_5= $(TI_BIOSDIR)\include

DIR_6= $(TI_CGENDIR)\include

DIR_7= $(TI_CGENDIR)\bin

DIR_8= DSKDiags

SOURCE=test.c
SOURCE=test.cdb

active_config: $(ACTIVE_CONFIG)

norecurse: $(ACTIVE_CONFIG)_norecurse

clean: $(ACTIVE_CONFIG)clean

clean_norecurse: $(ACTIVE_CONFIG)clean_norecurse

rebuild: $(ACTIVE_CONFIG)rebuild

force_rebuild: 

all: Debug DSKDiags 

allclean: Debugclean DSKDiagsclean 

allrebuild: Debugrebuild DSKDiagsrebuild 


Debugclean: Debugclean_norecurse

Debugclean_norecurse: 
	-@del /F testcfg.cmd
	-@del /F testcfg.h
	-@del /F testcfg.h55
	-@del /F testcfg.s55
	-@del /F testcfg_c.c
	-@del /F $(DIR_2)\test.obj
	-@del /F $(DIR_2)\testcfg.obj
	-@del /F $(DIR_2)\testcfg_c.obj
	-@del /F $(DIR_2)\test.out

Debugrebuild: 
	$(MAKE) $(MFLAGS) -f makefile.file Debug FRC=force_rebuild

Debug: Debug_norecurse

Debug_norecurse: $(DIR_2)\test.out



testcfg.cmd \
testcfg.h \
testcfg.h55 \
testcfg.s55 \
testcfg_c.c: $(FRC) test.cdb 
	"$(DIR_1)\gconfgen" test.cdb

$(DIR_2)\test.obj: $(FRC) test.c $(DIR_3)\csl.h $(DIR_3)\csl_dma.h $(DIR_3)\csl_mcbsp.h $(DIR_3)\csl_timer.h $(DIR_4)\dsk5509.h $(DIR_4)\dsk5509_aic23.h $(DIR_4)\dsk5509_dip.h $(DIR_4)\dsk5509_flash.h $(DIR_4)\dsk5509_led.h testcfg.h $(DIR_3)\_csl.h $(DIR_3)\csl_dmahal.h $(DIR_3)\csl_mcbspdat.h $(DIR_3)\csl_mcbsphal.h $(DIR_3)\csl_timhal.h $(DIR_5)\std.h $(DIR_5)\hst.h $(DIR_5)\swi.h $(DIR_5)\tsk.h $(DIR_5)\log.h $(DIR_5)\sts.h $(DIR_3)\csl_chiphal.h $(DIR_3)\csl_csldat.h $(DIR_3)\csl_datasz.h $(DIR_3)\csl_err.h $(DIR_3)\csl_irq.h $(DIR_3)\csl_std.h $(DIR_3)\csl_stdhal.h $(DIR_3)\csl_cslhal.h $(DIR_3)\csl_bctdat.h $(DIR_3)\csl_chipdat.h $(DIR_3)\csl_datdat.h $(DIR_3)\csl_dmadat.h $(DIR_3)\csl_emifdat.h $(DIR_3)\csl_errdat.h $(DIR_3)\csl_gpiodat.h $(DIR_3)\csl_gptdat.h $(DIR_3)\csl_i2cdat.h $(DIR_3)\csl_icachdat.h $(DIR_3)\csl_irqdat.h $(DIR_3)\csl_mmcdat.h $(DIR_3)\csl_plldat.h $(DIR_3)\csl_pwrdat.h $(DIR_3)\csl_rtcdat.h $(DIR_3)\csl_timdat.h $(DIR_3)\csl_uartdat.h $(DIR_3)\csl_wdtimdat.h $(DIR_3)\csl_irqhal.h $(DIR_3)\tistdtypes.h $(DIR_3)\csl_dmadatA.h $(DIR_3)\csl_dmadatB.h $(DIR_3)\csl_gpio5502dat.h $(DIR_3)\csl_gpio5509dat.h $(DIR_3)\csl_gpio5510dat.h $(DIR_3)\csl_time.h $(DIR_3)\_csl_gpiodat.h $(DIR_3)\_csl_pgpiodat.h $(DIR_6)\linkage.h 
	"$(DIR_7)\cl55" -g -mg -q -fr"./Debug" -i"." -i"../../include" -d"_DEBUG" -d"CHIP_5509A" -ml "test.c" 

$(DIR_2)\testcfg.obj: $(FRC) testcfg.s55 testcfg.h55 $(DIR_5)\confbeg.s55 $(DIR_5)\gbl.h55 $(DIR_5)\mem.h55 $(DIR_5)\obj.h55 $(DIR_5)\buf.h55 $(DIR_5)\clk.h55 $(DIR_5)\prd.h55 $(DIR_5)\rtdx.h55 $(DIR_5)\hst.h55 $(DIR_5)\hwi.h55 $(DIR_5)\swi.h55 $(DIR_5)\tsk.h55 $(DIR_5)\idl.h55 $(DIR_5)\isrc.h55 $(DIR_5)\log.h55 $(DIR_5)\pip.h55 $(DIR_5)\sem.h55 $(DIR_5)\mbx.h55 $(DIR_5)\que.h55 $(DIR_5)\lck.h55 $(DIR_5)\sio.h55 $(DIR_5)\sts.h55 $(DIR_5)\sys.h55 $(DIR_5)\gio.h55 $(DIR_5)\dev.h55 $(DIR_5)\udev.h55 $(DIR_5)\dgn.h55 $(DIR_5)\dhl.h55 $(DIR_5)\dpi.h55 $(DIR_5)\hook.h55 $(DIR_5)\dio.h55 $(DIR_5)\pwrm.h55 $(DIR_5)\confend.s55 
	"$(DIR_7)\cl55" -g -mg -q -fr"./Debug" -i"." -i"../../include" -d"_DEBUG" -d"CHIP_5509A" -ml "testcfg.s55" 

$(DIR_2)\testcfg_c.obj: $(FRC) testcfg_c.c testcfg.h $(DIR_5)\std.h $(DIR_5)\hst.h $(DIR_5)\swi.h $(DIR_5)\tsk.h $(DIR_5)\log.h $(DIR_5)\sts.h 
	"$(DIR_7)\cl55" -g -mg -q -fr"./Debug" -i"." -i"../../include" -d"_DEBUG" -d"CHIP_5509A" -ml "testcfg_c.c" 

$(DIR_2)\test.out: $(FRC) $(DIR_2)\test.obj $(DIR_2)\testcfg.obj $(DIR_2)\testcfg_c.obj testcfg.cmd 
	-@echo -z -q -c -m"./Debug/test.map" -o"./Debug/test.out" -stack1024 -sysstack1024 -x -l"../../lib/dsk5509bsl.lib"> makefile.Debug.lkf
	-@echo "$(DIR_2)\test.obj">> makefile.Debug.lkf
	-@echo "$(DIR_2)\testcfg.obj">> makefile.Debug.lkf
	-@echo "$(DIR_2)\testcfg_c.obj">> makefile.Debug.lkf
	-@echo "testcfg.cmd">> makefile.Debug.lkf
	"$(DIR_7)\cl55" -@"makefile.Debug.lkf"
	-@del /F makefile.Debug.lkf


DSKDiagsclean: DSKDiagsclean_norecurse

DSKDiagsclean_norecurse: 
	-@del /F testcfg.cmd
	-@del /F testcfg.h
	-@del /F testcfg.h55
	-@del /F testcfg.s55
	-@del /F testcfg_c.c
	-@del /F $(DIR_8)\test.obj
	-@del /F $(DIR_8)\testcfg.obj
	-@del /F $(DIR_8)\testcfg_c.obj
	-@del /F $(DIR_8)\target.out

DSKDiagsrebuild: 
	$(MAKE) $(MFLAGS) -f makefile.file DSKDiags FRC=force_rebuild

DSKDiags: DSKDiags_norecurse

DSKDiags_norecurse: $(DIR_8)\target.out



testcfg.cmd \
testcfg.h \
testcfg.h55 \
testcfg.s55 \
testcfg_c.c: $(FRC) test.cdb 
	"$(DIR_1)\gconfgen" test.cdb

$(DIR_8)\test.obj: $(FRC) test.c $(DIR_3)\csl.h $(DIR_3)\csl_dma.h $(DIR_3)\csl_mcbsp.h $(DIR_3)\csl_timer.h $(DIR_4)\dsk5509.h $(DIR_4)\dsk5509_aic23.h $(DIR_4)\dsk5509_dip.h $(DIR_4)\dsk5509_flash.h $(DIR_4)\dsk5509_led.h testcfg.h $(DIR_3)\_csl.h $(DIR_3)\csl_dmahal.h $(DIR_3)\csl_mcbspdat.h $(DIR_3)\csl_mcbsphal.h $(DIR_3)\csl_timhal.h $(DIR_5)\hst.h $(DIR_5)\log.h $(DIR_5)\std.h $(DIR_5)\sts.h $(DIR_5)\swi.h $(DIR_5)\tsk.h $(DIR_3)\csl_chiphal.h $(DIR_3)\csl_csldat.h $(DIR_3)\csl_datasz.h $(DIR_3)\csl_err.h $(DIR_3)\csl_irq.h $(DIR_3)\csl_std.h $(DIR_3)\csl_stdhal.h $(DIR_3)\csl_cslhal.h $(DIR_3)\csl_bctdat.h $(DIR_3)\csl_chipdat.h $(DIR_3)\csl_datdat.h $(DIR_3)\csl_dmadat.h $(DIR_3)\csl_emifdat.h $(DIR_3)\csl_errdat.h $(DIR_3)\csl_gpiodat.h $(DIR_3)\csl_gptdat.h $(DIR_3)\csl_i2cdat.h $(DIR_3)\csl_icachdat.h $(DIR_3)\csl_irqdat.h $(DIR_3)\csl_mmcdat.h $(DIR_3)\csl_plldat.h $(DIR_3)\csl_pwrdat.h $(DIR_3)\csl_rtcdat.h $(DIR_3)\csl_timdat.h $(DIR_3)\csl_uartdat.h $(DIR_3)\csl_wdtimdat.h $(DIR_3)\csl_irqhal.h $(DIR_3)\tistdtypes.h $(DIR_3)\csl_dmadatA.h $(DIR_3)\csl_dmadatB.h $(DIR_3)\csl_gpio5502dat.h $(DIR_3)\csl_gpio5509dat.h $(DIR_3)\csl_gpio5510dat.h $(DIR_3)\csl_time.h $(DIR_3)\_csl_gpiodat.h $(DIR_3)\_csl_pgpiodat.h $(DIR_6)\linkage.h 
	"$(DIR_7)\cl55" -g -mg -q -fr"./DSKDiags" -i"." -i"../../include" -d"CHIP_5509A" -d"BUILD_DSK_DIAGS" -ml "test.c" 

$(DIR_8)\testcfg.obj: $(FRC) testcfg.s55 $(DIR_5)\buf.h55 $(DIR_5)\clk.h55 $(DIR_5)\confbeg.s55 $(DIR_5)\confend.s55 $(DIR_5)\dev.h55 $(DIR_5)\dgn.h55 $(DIR_5)\dhl.h55 $(DIR_5)\dio.h55 $(DIR_5)\dpi.h55 $(DIR_5)\gbl.h55 $(DIR_5)\gio.h55 $(DIR_5)\hook.h55 $(DIR_5)\hst.h55 $(DIR_5)\hwi.h55 $(DIR_5)\idl.h55 $(DIR_5)\isrc.h55 $(DIR_5)\lck.h55 $(DIR_5)\log.h55 $(DIR_5)\mbx.h55 $(DIR_5)\mem.h55 $(DIR_5)\obj.h55 $(DIR_5)\pip.h55 $(DIR_5)\prd.h55 $(DIR_5)\pwrm.h55 $(DIR_5)\que.h55 $(DIR_5)\rtdx.h55 $(DIR_5)\sem.h55 $(DIR_5)\sio.h55 $(DIR_5)\sts.h55 $(DIR_5)\swi.h55 $(DIR_5)\sys.h55 testcfg.h55 $(DIR_5)\tsk.h55 $(DIR_5)\udev.h55 
	"$(DIR_7)\cl55" -g -mg -q -fr"./DSKDiags" -i"." -i"../../include" -d"CHIP_5509A" -d"BUILD_DSK_DIAGS" -ml "testcfg.s55" 

$(DIR_8)\testcfg_c.obj: $(FRC) testcfg_c.c testcfg.h $(DIR_5)\hst.h $(DIR_5)\log.h $(DIR_5)\std.h $(DIR_5)\sts.h $(DIR_5)\swi.h $(DIR_5)\tsk.h 
	"$(DIR_7)\cl55" -g -mg -q -fr"./DSKDiags" -i"." -i"../../include" -d"CHIP_5509A" -d"BUILD_DSK_DIAGS" -ml "testcfg_c.c" 

$(DIR_8)\target.out: $(FRC) $(DIR_8)\test.obj $(DIR_8)\testcfg.obj $(DIR_8)\testcfg_c.obj testcfg.cmd 
	-@echo -z -q -c -m"./DSKDiags/target.map" -o"./DSKDiags/target.out" -stack1024 -sysstack1024 -x -l"../../lib/dsk5509bsl.lib"> makefile.DSKDiags.lkf
	-@echo "$(DIR_8)\test.obj">> makefile.DSKDiags.lkf
	-@echo "$(DIR_8)\testcfg.obj">> makefile.DSKDiags.lkf
	-@echo "$(DIR_8)\testcfg_c.obj">> makefile.DSKDiags.lkf
	-@echo "testcfg.cmd">> makefile.DSKDiags.lkf
	"$(DIR_7)\cl55" -@"makefile.DSKDiags.lkf"
	-@del /F makefile.DSKDiags.lkf
