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

SHELL = cmd.exe

CG_TOOL_ROOT := C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS

GEN_OPTS__FLAG := 
GEN_CMDS__FLAG := 

ORDERED_OBJS += \
"./F2837xD_Adc.obj" \
"./F2837xD_CodeStartBranch.obj" \
"./F2837xD_CpuTimers.obj" \
"./F2837xD_DefaultISR.obj" \
"./F2837xD_Dma.obj" \
"./F2837xD_GlobalVariableDefs.obj" \
"./F2837xD_Gpio.obj" \
"./F2837xD_Ipc_Driver_Lite.obj" \
"./F2837xD_PieCtrl.obj" \
"./F2837xD_PieVect.obj" \
"./F2837xD_SysCtrl.obj" \
"./F2837xD_usDelay.obj" \
"./MW_c28xx_board.obj" \
"./MW_c28xx_csl.obj" \
"./MW_c28xx_pwm.obj" \
"./StackedPhases.obj" \
"./StackedPhases_data.obj" \
"./c2837xDBoard_Realtime_Support.obj" \
"./c2837xDSchedulerTimer0.obj" \
"./syscfg/board.obj" \
"./syscfg/clb_config.obj" \
"./syscfg/clb_sim.obj" \
"./ert_main.obj" \
"./profiler_Support.obj" \
"./device/F2837xD_CodeStartBranch.obj" \
"./device/device.obj" \
"./device/driverlib/adc.obj" \
"./device/driverlib/asysctl.obj" \
"./device/driverlib/can.obj" \
"./device/driverlib/cla.obj" \
"./device/driverlib/clb.obj" \
"./device/driverlib/cmpss.obj" \
"./device/driverlib/cputimer.obj" \
"./device/driverlib/dac.obj" \
"./device/driverlib/dcsm.obj" \
"./device/driverlib/dma.obj" \
"./device/driverlib/ecap.obj" \
"./device/driverlib/emif.obj" \
"./device/driverlib/epwm.obj" \
"./device/driverlib/eqep.obj" \
"./device/driverlib/flash.obj" \
"./device/driverlib/gpio.obj" \
"./device/driverlib/hrpwm.obj" \
"./device/driverlib/i2c.obj" \
"./device/driverlib/interrupt.obj" \
"./device/driverlib/mcbsp.obj" \
"./device/driverlib/memcfg.obj" \
"./device/driverlib/sci.obj" \
"./device/driverlib/sdfm.obj" \
"./device/driverlib/spi.obj" \
"./device/driverlib/sysctl.obj" \
"./device/driverlib/upp.obj" \
"./device/driverlib/usb.obj" \
"./device/driverlib/version.obj" \
"./device/driverlib/xbar.obj" \
"C:/ti/c2000/C2000Ware_3_03_00_00/driverlib/f2837xd/driverlib/ccs/Debug/driverlib.lib" \
$(GEN_CMDS__FLAG) \
-l"C:/ProgramData/MATLAB/SupportPackages/R2018b/toolbox/target/supportpackages/tic2000/rtlib/IQmath_fpu32.lib" \
-l"C:/ProgramData/MATLAB/SupportPackages/R2018b/toolbox/target/supportpackages/tic2000/src/c2837xDPeripherals.cmd" \
-l"C:/ProgramData/MATLAB/SupportPackages/R2018b/toolbox/target/supportpackages/tic2000/src/c28377D.cmd" \
-lrts2800_fpu32.lib \

-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 device/subdir_vars.mk
-include device/driverlib/subdir_vars.mk
-include subdir_rules.mk
-include device/subdir_rules.mk
-include device/driverlib/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 += \
StackedPhases.out \

EXE_OUTPUTS__QUOTED += \
"StackedPhases.out" \

BIN_OUTPUTS += \
StackedPhases.hex \

BIN_OUTPUTS__QUOTED += \
"StackedPhases.hex" \


# All Target
all: StackedPhases.out

# Tool invocations
StackedPhases.out: $(OBJS) $(LIB_SRCS) $(GEN_CMDS)
	@echo 'Building target: "$@"'
	@echo 'Invoking: C2000 Linker'
	"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" --define=MODEL=StackedPhases --define=NUMST=1 --define=NCSTATES=0 --define=HAVESTDIO --define=MODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 --define=CLASSIC_INTERFACE=0 --define=ALLOCATIONFCN=0 --define=TID01EQ=0 --define=TERMFCN=1 --define=ONESTEPFCN=1 --define=MAT_FILE=0 --define=MULTI_INSTANCE_CODE=0 --define=INTEGER_CODE=0 --define=MT=0 --define=DAEMON_MODE=1 --define=MW_PIL_SCIFIFOLEN=16 --define=F2837X_REG_FORMAT --define=MW_F2837XD --define=STACK_SIZE=512 --define=__MW_TARGET_USE_HARDWARE_RESOURCES_H__ --define=RT --define=F28377D --define=CPU1 --define=BOOT_FROM_FLASH=1 --abi=coffabi -s -v28 -ml  --large_memory_model --silicon_version=28 --define=LARGE_MODEL -v28 --float_support=fpu32 -ml -DF28377D -DCPU1 -DBOOT_FROM_FLASH=1 -z --warn_sections -i"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/lib" -i"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --reread_libs --define=F28377D --define=CPU1 --define=BOOT_FROM_FLASH=1 --define=BOOT_USING_BL=0 --rom_model -z  --stack_size=512 --warn_sections --heap_size=1024 --reread_libs --rom_model -mStackedPhases.map -o "StackedPhases.out" $(ORDERED_OBJS)
	@echo 'Finished building target: "$@"'
	@echo ' '
	@$(MAKE) --no-print-directory post-build

StackedPhases.hex: $(EXE_OUTPUTS)
	@echo 'Building files: $(strip $(EXE_OUTPUTS__QUOTED))'
	@echo 'Invoking: C2000 Hex Utility'
	"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/hex2000"  -o "StackedPhases.hex" $(EXE_OUTPUTS__QUOTED)
	@echo 'Finished building: $(strip $(EXE_OUTPUTS__QUOTED))'
	@echo ' '
	@$(MAKE) --no-print-directory post-build

# Other Targets
clean:
	-$(RM) $(GEN_MISC_FILES__QUOTED)$(BIN_OUTPUTS__QUOTED)$(GEN_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)
	-$(RM) "F2837xD_Adc.obj" "F2837xD_CodeStartBranch.obj" "F2837xD_CpuTimers.obj" "F2837xD_DefaultISR.obj" "F2837xD_Dma.obj" "F2837xD_GlobalVariableDefs.obj" "F2837xD_Gpio.obj" "F2837xD_Ipc_Driver_Lite.obj" "F2837xD_PieCtrl.obj" "F2837xD_PieVect.obj" "F2837xD_SysCtrl.obj" "F2837xD_usDelay.obj" "MW_c28xx_board.obj" "MW_c28xx_csl.obj" "MW_c28xx_pwm.obj" "StackedPhases.obj" "StackedPhases_data.obj" "c2837xDBoard_Realtime_Support.obj" "c2837xDSchedulerTimer0.obj" "syscfg\board.obj" "syscfg\clb_config.obj" "syscfg\clb_sim.obj" "ert_main.obj" "profiler_Support.obj" "device\F2837xD_CodeStartBranch.obj" "device\device.obj" "device\driverlib\adc.obj" "device\driverlib\asysctl.obj" "device\driverlib\can.obj" "device\driverlib\cla.obj" "device\driverlib\clb.obj" "device\driverlib\cmpss.obj" "device\driverlib\cputimer.obj" "device\driverlib\dac.obj" "device\driverlib\dcsm.obj" "device\driverlib\dma.obj" "device\driverlib\ecap.obj" "device\driverlib\emif.obj" "device\driverlib\epwm.obj" "device\driverlib\eqep.obj" 
	-$(RM) "device\driverlib\flash.obj" "device\driverlib\gpio.obj" "device\driverlib\hrpwm.obj" "device\driverlib\i2c.obj" "device\driverlib\interrupt.obj" "device\driverlib\mcbsp.obj" "device\driverlib\memcfg.obj" "device\driverlib\sci.obj" "device\driverlib\sdfm.obj" "device\driverlib\spi.obj" "device\driverlib\sysctl.obj" "device\driverlib\upp.obj" "device\driverlib\usb.obj" "device\driverlib\version.obj" "device\driverlib\xbar.obj" 
	-$(RM) "F2837xD_Adc.d" "F2837xD_CpuTimers.d" "F2837xD_DefaultISR.d" "F2837xD_Dma.d" "F2837xD_GlobalVariableDefs.d" "F2837xD_Gpio.d" "F2837xD_Ipc_Driver_Lite.d" "F2837xD_PieCtrl.d" "F2837xD_PieVect.d" "F2837xD_SysCtrl.d" "MW_c28xx_board.d" "MW_c28xx_csl.d" "MW_c28xx_pwm.d" "StackedPhases.d" "StackedPhases_data.d" "c2837xDBoard_Realtime_Support.d" "c2837xDSchedulerTimer0.d" "syscfg\board.d" "syscfg\clb_config.d" "ert_main.d" "profiler_Support.d" "device\device.d" "device\driverlib\adc.d" "device\driverlib\asysctl.d" "device\driverlib\can.d" "device\driverlib\cla.d" "device\driverlib\clb.d" "device\driverlib\cmpss.d" "device\driverlib\cputimer.d" "device\driverlib\dac.d" "device\driverlib\dcsm.d" "device\driverlib\dma.d" "device\driverlib\ecap.d" "device\driverlib\emif.d" "device\driverlib\epwm.d" "device\driverlib\eqep.d" "device\driverlib\flash.d" "device\driverlib\gpio.d" "device\driverlib\hrpwm.d" "device\driverlib\i2c.d" "device\driverlib\interrupt.d" "device\driverlib\mcbsp.d" "device\driverlib\memcfg.d" 
	-$(RM) "device\driverlib\sci.d" "device\driverlib\sdfm.d" "device\driverlib\spi.d" "device\driverlib\sysctl.d" "device\driverlib\upp.d" "device\driverlib\usb.d" "device\driverlib\version.d" "device\driverlib\xbar.d" 
	-$(RM) "syscfg\clb_sim.d" 
	-$(RM) "F2837xD_CodeStartBranch.d" "F2837xD_usDelay.d" "device\F2837xD_CodeStartBranch.d" 
	-$(RMDIR) $(GEN_MISC_DIRS__QUOTED)
	-@echo 'Finished clean'
	-@echo ' '

post-build:
	-mkdir "C:/Users/alhar/workspace_v10/StackedPhases/Debug/simulation"
	-C:/TDM-GCC-64/bin/g++  -c -DCLB_SIM -IC:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src -IC:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/utilities/clb_tool/clb_syscfg/systemc/include -IC:/Users/alhar/workspace_v10/StackedPhases -IC:/TDM-GCC-64/bin/include -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MFC:/Users/alhar/workspace_v10/StackedPhases/Debug/simulation/clb_sim.d -MTC:/Users/alhar/workspace_v10/StackedPhases/Debug/simulation/clb_sim.o -IC:/Users/alhar/workspace_v10/StackedPhases/Debug/syscfg   -fno-threadsafe-statics  -oC:/Users/alhar/workspace_v10/StackedPhases/Debug/simulation/clb_sim.o C:/Users/alhar/workspace_v10/StackedPhases/Debug/syscfg/clb_sim.cpp
	-C:/TDM-GCC-64/bin/g++ -DCLB_SIM -Og -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,C:/Users/alhar/workspace_v10/StackedPhases/Debug/simulation/simulation_output.map -LC:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/build/src -oC:/Users/alhar/workspace_v10/StackedPhases/Debug/simulation/simulation_output.exe C:/Users/alhar/workspace_v10/StackedPhases/Debug/simulation/clb_sim.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/utilities/clb_tool/clb_syscfg/systemc/src/CLB_FSM_SC_model.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/utilities/clb_tool/clb_syscfg/systemc/src/CLB_HLC_SC_model.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/utilities/clb_tool/clb_syscfg/systemc/src/CLB_LUT4_SC_model.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/utilities/clb_tool/clb_syscfg/systemc/src/CLB_OutputLUT_SC_model.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/utilities/clb_tool/clb_syscfg/systemc/src/CLB_counter_SC_model.o  -Wl,--start-group -lsystemc -Wl,--end-group
	-./simulation/simulation_output.exe
	-C:/ti/ccs1000/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js"  "C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg" "C:/Users/alhar/workspace_v10/StackedPhases/Debug/syscfg" "C:/Users/alhar/workspace_v10/StackedPhases/Debug/syscfg/clb.dot"
	-@echo ' '

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets

