################################################################################
# Automatically-generated file. Do not edit!
################################################################################

SHELL = cmd.exe

CG_TOOL_ROOT := C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-arm_5.2.4

GEN_OPTS__FLAG := 
GEN_CMDS__FLAG := 

ORDERED_OBJS += \
"./cyclone_global_variables_defs.obj" \
"./interrupts.obj" \
"./load_UCD3138064.obj" \
"./load_UCD3138_128.obj" \
"./main.obj" \
"./pmbus_command_indexes.obj" \
"./pmbus_common.obj" \
"./pmbus_driver.obj" \
"./pmbus_topology.obj" \
"./software_interrupt.obj" \
"./software_interrupt_wrapper.obj" \
"./standard_interrupt.obj" \
"./zero_out_integrity_word.obj" \
"C:/Users/a0500955/TI Drive/Bitbucket_Repos/HPCS Firmware/firmware_training/ucd_min-pmbus/Device/UCD3138064/Linker/cyclone_64.cmd" \
"C:/Users/a0500955/TI Drive/Bitbucket_Repos/HPCS Firmware/firmware_training/ucd_min-pmbus/Device/UCD3138064/Linker/cyclone_64_headers.cmd" \
$(GEN_CMDS__FLAG) \
-llibc.a \

-include ../makefile.init

RM := DEL /F
RMDIR := RMDIR /S/Q

# All of the sources participating in the build are defined here
-include sources.mk
-include subdir_vars.mk
-include subdir_rules.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C55_DEPS)),)
-include $(C55_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(S67_DEPS)),)
-include $(S67_DEPS)
endif
ifneq ($(strip $(S62_DEPS)),)
-include $(S62_DEPS)
endif
ifneq ($(strip $(S_DEPS)),)
-include $(S_DEPS)
endif
ifneq ($(strip $(OPT_DEPS)),)
-include $(OPT_DEPS)
endif
ifneq ($(strip $(C??_DEPS)),)
-include $(C??_DEPS)
endif
ifneq ($(strip $(ASM_UPPER_DEPS)),)
-include $(ASM_UPPER_DEPS)
endif
ifneq ($(strip $(S??_DEPS)),)
-include $(S??_DEPS)
endif
ifneq ($(strip $(C64_DEPS)),)
-include $(C64_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(S64_DEPS)),)
-include $(S64_DEPS)
endif
ifneq ($(strip $(INO_DEPS)),)
-include $(INO_DEPS)
endif
ifneq ($(strip $(CLA_DEPS)),)
-include $(CLA_DEPS)
endif
ifneq ($(strip $(S55_DEPS)),)
-include $(S55_DEPS)
endif
ifneq ($(strip $(SV7A_DEPS)),)
-include $(SV7A_DEPS)
endif
ifneq ($(strip $(C62_DEPS)),)
-include $(C62_DEPS)
endif
ifneq ($(strip $(C67_DEPS)),)
-include $(C67_DEPS)
endif
ifneq ($(strip $(PDE_DEPS)),)
-include $(PDE_DEPS)
endif
ifneq ($(strip $(K_DEPS)),)
-include $(K_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C43_DEPS)),)
-include $(C43_DEPS)
endif
ifneq ($(strip $(S43_DEPS)),)
-include $(S43_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(SA_DEPS)),)
-include $(SA_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
EXE_OUTPUTS += \
uart02_openloopdpwm_UCD3138064.out \

EXE_OUTPUTS__QUOTED += \
"uart02_openloopdpwm_UCD3138064.out" \


# All Target
all:
	@$(MAKE) --no-print-directory pre-build
	@$(MAKE) --no-print-directory main-build

# Main-build Target
main-build: uart02_openloopdpwm_UCD3138064.out

# Tool invocations
uart02_openloopdpwm_UCD3138064.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
	@echo 'Building target: "$@"'
	@echo 'Invoking: ARM Linker'
	"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl" -mv4 --code_state=16 --abi=ti_arm9_abi -O2 -g --preproc_with_comment --preproc_with_compile --define=UCD3138064=1 --diag_warning=225 --display_error_number -k --asm_listing --pp_directory="C:/Users/a0500955/TI Drive/Bitbucket_Repos/HPCS Firmware/firmware_training/1-UART/uart02_openloopdpwm/UCD3138064" -z -m"uart02_openloopdpwm_UCD3138064.map" --stack_size=200 --heap_size=10 -i"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-arm_5.2.4/lib" -i"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-arm_5.2.4/include" --reread_libs --define=UCD3138064=1 --display_error_number --warn_sections --xml_link_info="uart02_openloopdpwm_linkInfo.xml" --rom_model -o "uart02_openloopdpwm_UCD3138064.out" $(ORDERED_OBJS)
	@echo 'Finished building target: "$@"'
	@echo ' '
	@$(MAKE) --no-print-directory post-build

# Other Targets
clean:
	-$(RM) $(EXE_OUTPUTS__QUOTED)
	-$(RM) "cyclone_global_variables_defs.lst" "interrupts.lst" "load_UCD3138064.lst" "load_UCD3138_128.lst" "main.lst" "pmbus_command_indexes.lst" "pmbus_common.lst" "pmbus_driver.lst" "pmbus_topology.lst" "software_interrupt.lst" "software_interrupt_wrapper.lst" "standard_interrupt.lst" "zero_out_integrity_word.lst" 
	-$(RM) "cyclone_global_variables_defs.obj" "interrupts.obj" "load_UCD3138064.obj" "load_UCD3138_128.obj" "main.obj" "pmbus_command_indexes.obj" "pmbus_common.obj" "pmbus_driver.obj" "pmbus_topology.obj" "software_interrupt.obj" "software_interrupt_wrapper.obj" "standard_interrupt.obj" "zero_out_integrity_word.obj" 
	-$(RM) "cyclone_global_variables_defs.asm" "interrupts.asm" "load_UCD3138064.asm" "load_UCD3138_128.asm" "main.asm" "pmbus_command_indexes.asm" "pmbus_common.asm" "pmbus_driver.asm" "pmbus_topology.asm" "software_interrupt.asm" "software_interrupt_wrapper.asm" "standard_interrupt.asm" "zero_out_integrity_word.asm" 
	-@echo 'Finished clean'
	-@echo ' '

pre-build:
	-(rm device_id.obj) & (perl ../../build_scripts/create_date_dot_h_CCS5.pl)
	-@echo ' '

post-build:
	-@echo 'Tektronix Extended format'
	-("C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-arm_5.2.4/bin/armhex.exe" -x "uart02_openloopdpwm_UCD3138064.out" -o "uart02_openloopdpwm_UCD3138064.x0" -memwidth 8) & (perl ../../build_scripts/checkmem_CCS5.pl cyclone ../UCD3138HSFBEVM_029.map) & (perl ../../build_scripts/build_CCS5.pl UCD3138HSFBEVM_029)
	-@echo ' '

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets

