1 ################################################################################
2 # Automatically-generated file. Do not edit!
3 ################################################################################
6 CG_TOOL_ROOT = $(C6X_GEN_INSTALL_PATH)
8 ORDERED_OBJS += \
9 "./src/c6678.obj" \
10 "./src/cpdma.obj" \
11 "./src/gmacsl.obj" \
12 "./src/pa.obj" \
13 "./src/post.obj" \
14 "./src/psc.obj" \
15 "./src/qm.obj" \
16 "../post.cmd" \
17 $(GEN_CMDS__FLAG) \
18 -l"ti.platform.evmk2e.lite.lib" \
19 -l"ti.csl.ae66" \
20 -l"libc.a" \
22 -include ../makefile.init
24 RM = rm -f
25 RMDIR = rm -rf
26 MKDIR = mkdir -p
28 # All of the sources participating in the build are defined here
29 -include sources.mk
30 -include subdir_vars.mk
31 -include src/subdir_vars.mk
32 -include subdir_rules.mk
33 -include src/subdir_rules.mk
34 -include objects.mk
36 ifneq ($(MAKECMDGOALS),clean)
37 ifneq ($(strip $(S_DEPS)),)
38 -include $(S_DEPS)
39 endif
40 ifneq ($(strip $(S_UPPER_DEPS)),)
41 -include $(S_UPPER_DEPS)
42 endif
43 ifneq ($(strip $(S62_DEPS)),)
44 -include $(S62_DEPS)
45 endif
46 ifneq ($(strip $(C64_DEPS)),)
47 -include $(C64_DEPS)
48 endif
49 ifneq ($(strip $(ASM_DEPS)),)
50 -include $(ASM_DEPS)
51 endif
52 ifneq ($(strip $(CC_DEPS)),)
53 -include $(CC_DEPS)
54 endif
55 ifneq ($(strip $(S55_DEPS)),)
56 -include $(S55_DEPS)
57 endif
58 ifneq ($(strip $(C67_DEPS)),)
59 -include $(C67_DEPS)
60 endif
61 ifneq ($(strip $(CLA_DEPS)),)
62 -include $(CLA_DEPS)
63 endif
64 ifneq ($(strip $(C??_DEPS)),)
65 -include $(C??_DEPS)
66 endif
67 ifneq ($(strip $(CPP_DEPS)),)
68 -include $(CPP_DEPS)
69 endif
70 ifneq ($(strip $(S??_DEPS)),)
71 -include $(S??_DEPS)
72 endif
73 ifneq ($(strip $(C_DEPS)),)
74 -include $(C_DEPS)
75 endif
76 ifneq ($(strip $(C62_DEPS)),)
77 -include $(C62_DEPS)
78 endif
79 ifneq ($(strip $(CXX_DEPS)),)
80 -include $(CXX_DEPS)
81 endif
82 ifneq ($(strip $(C++_DEPS)),)
83 -include $(C++_DEPS)
84 endif
85 ifneq ($(strip $(ASM_UPPER_DEPS)),)
86 -include $(ASM_UPPER_DEPS)
87 endif
88 ifneq ($(strip $(K_DEPS)),)
89 -include $(K_DEPS)
90 endif
91 ifneq ($(strip $(C43_DEPS)),)
92 -include $(C43_DEPS)
93 endif
94 ifneq ($(strip $(INO_DEPS)),)
95 -include $(INO_DEPS)
96 endif
97 ifneq ($(strip $(S67_DEPS)),)
98 -include $(S67_DEPS)
99 endif
100 ifneq ($(strip $(SA_DEPS)),)
101 -include $(SA_DEPS)
102 endif
103 ifneq ($(strip $(S43_DEPS)),)
104 -include $(S43_DEPS)
105 endif
106 ifneq ($(strip $(OPT_DEPS)),)
107 -include $(OPT_DEPS)
108 endif
109 ifneq ($(strip $(PDE_DEPS)),)
110 -include $(PDE_DEPS)
111 endif
112 ifneq ($(strip $(S64_DEPS)),)
113 -include $(S64_DEPS)
114 endif
115 ifneq ($(strip $(C_UPPER_DEPS)),)
116 -include $(C_UPPER_DEPS)
117 endif
118 ifneq ($(strip $(C55_DEPS)),)
119 -include $(C55_DEPS)
120 endif
121 endif
123 -include ../makefile.defs
125 # Add inputs and outputs from these tool invocations to the build variables
126 EXE_OUTPUTS += \
127 ../bin/post_evmk2e.out \
129 EXE_OUTPUTS__QUOTED += \
130 "../bin/post_evmk2e.out" \
133 # All Target
134 all: ../bin/post_evmk2e.out
136 # Tool invocations
137 ../bin/post_evmk2e.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
138 @echo 'Building target: $@'
139 @echo 'Invoking: C6000 Linker'
140 @$(MKDIR) ../bin
141 "$(CG_TOOL_ROOT)/bin/cl6x" -mv6600 --abi=eabi -g --define=SOC_K2E --display_error_number --diag_warning=225 -z -m"../bin/post_evmk2e.map" -i"$(CG_TOOL_ROOT)/lib" -i"$(CG_TOOL_ROOT)/include" -i"$(PDK_INSTALL_PATH)/ti/platform/evmk2e/platform_lib/lib/debug" -i"$(PDK_INSTALL_PATH)/ti/csl/lib/k2e/c66/release" --reread_libs --warn_sections --xml_link_info="../bin/post_evmk2e_linkInfo.xml" --rom_model -o "../bin/post_evmk2e.out" $(ORDERED_OBJS)
142 @echo 'Finished building target: $@'
143 @echo ' '
145 # Other Targets
146 clean:
147 -$(RM) $(EXE_OUTPUTS__QUOTED)
148 -$(RM) "src/c6678.pp" "src/cpdma.pp" "src/gmacsl.pp" "src/pa.pp" "src/post.pp" "src/psc.pp" "src/qm.pp"
149 -$(RM) "src/c6678.obj" "src/cpdma.obj" "src/gmacsl.obj" "src/pa.obj" "src/post.obj" "src/psc.obj" "src/qm.obj"
150 -@echo 'Finished clean'
151 -@echo ' '
153 .PHONY: all clean dependents
154 .SECONDARY:
156 -include ../makefile.targets