6926b88c3a450118ac5ff2b00923f74bdd495b2b
[processor-sdk/audio-preprocessing.git] / file_demo_bios / k2g / build / makefile
1 # set global environment variables\r
2 SDK_INSTALL_PATH ?= C:/ti\r
3 C6X_GEN_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0\r
4 XDC_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/xdctools_3_32_00_06_core\r
5 BIOS_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/bios_6_45_01_29\r
6 UIA_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/uia_2_00_03_43\r
7 XDAIS_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/xdais_7_24_00_04\r
8 VOLIB_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/volib_C66_2_1_0_1\r
9 AER_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/aer_c64Px_obj_17_0_0_0\r
10 \r
11 GEN_OPTS__FLAG := --cmd_file="configPkg/compiler.opt"\r
12 GEN_CMDS__FLAG := -l"configPkg/linker.cmd"\r
13 \r
14 ORDERED_OBJS += \
15 "./main.obj" \
16 "./components/clk.obj" \
17 "./components/fil.obj" \
18 "./components/sys.obj" \
19 "./components/sysasnr.obj" \
20 "./components/sysbf.obj" \
21 "./components/sysbfflt.obj" \
22 "./components/syseram.obj" \
23 "./components/sysiram.obj" \
24 "./components/sysmss.obj" \
25 "./components/sysvau.obj" \
26 "./components/mhm/src/mhm.obj" \
27 "./components/mss/src/mss.obj" \
28 "./components/mss/src/mssproc.obj" \
29 "../bflinker.cmd" \
30 $(GEN_CMDS__FLAG) \
31 -laer_c.ae64P \
32 -lvau/lib/vau_c.ae66 \
33 -lvpe/lib/vpe_a.ae66 \
34 -lvpe/lib/vpe_c.ae66 \
35 -lutil/lib/util_c.ae66 \
36 -lmhm/lib/mhm_c.ae66 \
37 -llibc.a \
38 \r
39 -include ../makefile.init\r
40 \r
41 RM := DEL /F\r
42 RMDIR := RMDIR /S/Q\r
43 \r
44 # All of the sources participating in the build are defined here\r
45 ##-include subdir_vars.mk\r
46 # Add inputs and outputs from these tool invocations to the build variables \r
47 CMD_SRCS += \\r
48 ../bflinker.cmd \r
49 \r
50 CFG_SRCS += \\r
51 ../app.cfg \r
52 \r
53 C_SRCS += \\r
54 ../main.c \r
55 \r
56 OBJS += \\r
57 ./main.obj \r
58 \r
59 C_DEPS += \\r
60 ./main.d \r
61 \r
62 GEN_MISC_DIRS += \\r
63 ./configPkg/ \r
64 \r
65 GEN_CMDS += \\r
66 ./configPkg/linker.cmd \r
67 \r
68 GEN_OPTS += \\r
69 ./configPkg/compiler.opt \r
70 \r
71 GEN_FILES += \\r
72 ./configPkg/linker.cmd \\r
73 ./configPkg/compiler.opt \r
74 \r
75 GEN_FILES__QUOTED += \\r
76 "configPkg\linker.cmd" \\r
77 "configPkg\compiler.opt" \r
78 \r
79 GEN_MISC_DIRS__QUOTED += \\r
80 "configPkg\" \r
81 \r
82 C_DEPS__QUOTED += \\r
83 "main.d" \r
84 \r
85 OBJS__QUOTED += \\r
86 "main.obj" \r
87 \r
88 C_SRCS__QUOTED += \\r
89 "../main.c" \r
90 \r
91 \r
92 \r
93 ##-include components/subdir_vars.mk\r
94 C_SRCS += \\r
95 ../components/clk.c \\r
96 ../components/fil.c \\r
97 ../components/sys.c \\r
98 ../components/sysasnr.c \\r
99 ../components/sysbf.c \\r
100 ../components/sysbfflt.c \\r
101 ../components/syseram.c \\r
102 ../components/sysiram.c \\r
103 ../components/sysmss.c \\r
104 ../components/sysvau.c \r
105 \r
106 OBJS += \\r
107 components/clk.obj \\r
108 components/fil.obj \\r
109 components/sys.obj \\r
110 components/sysasnr.obj \\r
111 components/sysbf.obj \\r
112 components/sysbfflt.obj \\r
113 components/syseram.obj \\r
114 components/sysiram.obj \\r
115 components/sysmss.obj \\r
116 components/sysvau.obj \r
117 \r
118 C_DEPS += \\r
119 components/clk.d \\r
120 components/fil.d \\r
121 components/sys.d \\r
122 components/sysasnr.d \\r
123 components/sysbf.d \\r
124 components/sysbfflt.d \\r
125 components/syseram.d \\r
126 components/sysiram.d \\r
127 components/sysmss.d \\r
128 components/sysvau.d \r
129 \r
130 C_DEPS__QUOTED += \\r
131 "components\clk.d" \\r
132 "components\fil.d" \\r
133 "components\sys.d" \\r
134 "components\sysasnr.d" \\r
135 "components\sysbf.d" \\r
136 "components\sysbfflt.d" \\r
137 "components\syseram.d" \\r
138 "components\sysiram.d" \\r
139 "components\sysmss.d" \\r
140 "components\sysvau.d" \r
141 \r
142 OBJS__QUOTED += \\r
143 "components\clk.obj" \\r
144 "components\fil.obj" \\r
145 "components\sys.obj" \\r
146 "components\sysasnr.obj" \\r
147 "components\sysbf.obj" \\r
148 "components\sysbfflt.obj" \\r
149 "components\syseram.obj" \\r
150 "components\sysiram.obj" \\r
151 "components\sysmss.obj" \\r
152 "components\sysvau.obj" \r
153 \r
154 C_SRCS__QUOTED += \\r
155 "../components/clk.c" \\r
156 "../components/fil.c" \\r
157 "../components/sys.c" \\r
158 "../components/sysasnr.c" \\r
159 "../components/sysbf.c" \\r
160 "../components/sysbfflt.c" \\r
161 "../components/syseram.c" \\r
162 "../components/sysiram.c" \\r
163 "../components/sysmss.c" \\r
164 "../components/sysvau.c" \r
165 \r
166 \r
167 \r
168 ##-include components/mhm/src/subdir_vars.mk\r
169 C_SRCS += \\r
170 ../components/mhm/src/mhm.c \r
171 \r
172 OBJS += \\r
173 components/mhm/src/mhm.obj \r
174 \r
175 C_DEPS += \\r
176 components/mhm/src/mhm.d \r
177 \r
178 C_DEPS__QUOTED += \\r
179 "components\mhm\src\mhm.d" \r
180 \r
181 OBJS__QUOTED += \\r
182 "components\mhm\src\mhm.obj" \r
183 \r
184 C_SRCS__QUOTED += \\r
185 "../components/mhm/src/mhm.c" \r
186 \r
187 \r
188 \r
189 ##-include components/mss/src/subdir_vars.mk\r
190 C_SRCS += \\r
191 ../components/mss/src/mss.c \\r
192 ../components/mss/src/mssproc.c \r
193 \r
194 OBJS += \\r
195 components/mss/src/mss.obj \\r
196 components/mss/src/mssproc.obj \r
197 \r
198 C_DEPS += \\r
199 components/mss/src/mss.d \\r
200 components/mss/src/mssproc.d \r
201 \r
202 C_DEPS__QUOTED += \\r
203 "components\mss\src\mss.d" \\r
204 "components\mss\src\mssproc.d" \r
205 \r
206 OBJS__QUOTED += \\r
207 "components\mss\src\mss.obj" \\r
208 "components\mss\src\mssproc.obj" \r
209 \r
210 C_SRCS__QUOTED += \\r
211 "../components/mss/src/mss.c" \\r
212 "../components/mss/src/mssproc.c" \r
213 \r
214 \r
215 \r
216 ##-include subdir_rules.mk\r
217 configPkg/linker.cmd: ../app.cfg\r
218         @echo 'Building file: $<'\r
219         @echo 'Invoking: XDCtools'\r
220         "$(XDC_INSTALL_PATH)/xs" --xdcpath="$(BIOS_INSTALL_PATH)/packages;$(VOLIB_INSTALL_PATH)/packages;$(UIA_INSTALL_PATH)/packages;$(XDAIS_INSTALL_PATH)/packages;$(XDAIS_INSTALL_PATH)/examples;../../platforms/packages;$(AER_INSTALL_PATH)/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p evmTCI66AK2G02Custom -r debug -c "$(C6X_GEN_INSTALL_PATH)" --compileOptions "-g --optimize_with_debug" "$<"\r
221         @echo 'Finished building: $<'\r
222         @echo ' '\r
223 \r
224 configPkg/compiler.opt: | configPkg/linker.cmd\r
225 configPkg/: | configPkg/linker.cmd\r
226 \r
227 main.obj: ../main.c $(GEN_OPTS) $(GEN_HDRS)\r
228         @echo 'Building file: $<'\r
229         @echo 'Invoking: C6000 Compiler'\r
230         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d" $(GEN_OPTS__FLAG) "$<"\r
231         @echo 'Finished building: $<'\r
232         @echo ' '\r
233 \r
234 \r
235 ##-include components/subdir_rules.mk\r
236 components/clk.obj: ../components/clk.c $(GEN_OPTS) $(GEN_HDRS)\r
237         @echo 'Building file: $<'\r
238         @echo 'Invoking: C6000 Compiler'\r
239         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="./components/clk.d" --obj_directory="./components" $(GEN_OPTS__FLAG) "$<"\r
240         @echo 'Finished building: $<'\r
241         @echo ' '\r
242 \r
243 components/fil.obj: ../components/fil.c $(GEN_OPTS) $(GEN_HDRS)\r
244         @echo 'Building file: $<'\r
245         @echo 'Invoking: C6000 Compiler'\r
246         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="components/fil.d" --obj_directory="components" $(GEN_OPTS__FLAG) "$<"\r
247         @echo 'Finished building: $<'\r
248         @echo ' '\r
249 \r
250 components/sys.obj: ../components/sys.c $(GEN_OPTS) $(GEN_HDRS)\r
251         @echo 'Building file: $<'\r
252         @echo 'Invoking: C6000 Compiler'\r
253         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="components/sys.d" --obj_directory="components" $(GEN_OPTS__FLAG) "$<"\r
254         @echo 'Finished building: $<'\r
255         @echo ' '\r
256 \r
257 components/sysasnr.obj: ../components/sysasnr.c $(GEN_OPTS) $(GEN_HDRS)\r
258         @echo 'Building file: $<'\r
259         @echo 'Invoking: C6000 Compiler'\r
260         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="components/sysasnr.d" --obj_directory="components" $(GEN_OPTS__FLAG) "$<"\r
261         @echo 'Finished building: $<'\r
262         @echo ' '\r
263 \r
264 components/sysbf.obj: ../components/sysbf.c $(GEN_OPTS) $(GEN_HDRS)\r
265         @echo 'Building file: $<'\r
266         @echo 'Invoking: C6000 Compiler'\r
267         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="components/sysbf.d" --obj_directory="components" $(GEN_OPTS__FLAG) "$<"\r
268         @echo 'Finished building: $<'\r
269         @echo ' '\r
270 \r
271 components/sysbfflt.obj: ../components/sysbfflt.c $(GEN_OPTS) $(GEN_HDRS)\r
272         @echo 'Building file: $<'\r
273         @echo 'Invoking: C6000 Compiler'\r
274         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="components/sysbfflt.d" --obj_directory="components" $(GEN_OPTS__FLAG) "$<"\r
275         @echo 'Finished building: $<'\r
276         @echo ' '\r
277 \r
278 components/syseram.obj: ../components/syseram.c $(GEN_OPTS) $(GEN_HDRS)\r
279         @echo 'Building file: $<'\r
280         @echo 'Invoking: C6000 Compiler'\r
281         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="components/syseram.d" --obj_directory="components" $(GEN_OPTS__FLAG) "$<"\r
282         @echo 'Finished building: $<'\r
283         @echo ' '\r
284 \r
285 components/sysiram.obj: ../components/sysiram.c $(GEN_OPTS) $(GEN_HDRS)\r
286         @echo 'Building file: $<'\r
287         @echo 'Invoking: C6000 Compiler'\r
288         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="components/sysiram.d" --obj_directory="components" $(GEN_OPTS__FLAG) "$<"\r
289         @echo 'Finished building: $<'\r
290         @echo ' '\r
291 \r
292 components/sysmss.obj: ../components/sysmss.c $(GEN_OPTS) $(GEN_HDRS)\r
293         @echo 'Building file: $<'\r
294         @echo 'Invoking: C6000 Compiler'\r
295         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="components/sysmss.d" --obj_directory="components" $(GEN_OPTS__FLAG) "$<"\r
296         @echo 'Finished building: $<'\r
297         @echo ' '\r
298 \r
299 components/sysvau.obj: ../components/sysvau.c $(GEN_OPTS) $(GEN_HDRS)\r
300         @echo 'Building file: $<'\r
301         @echo 'Invoking: C6000 Compiler'\r
302         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="components/sysvau.d" --obj_directory="components" $(GEN_OPTS__FLAG) "$<"\r
303         @echo 'Finished building: $<'\r
304         @echo ' '\r
305 \r
306 \r
307 \r
308 ##-include components/mhm/src/subdir_rules.mk\r
309 components/mhm/src/mhm.obj: ../components/mhm/src/mhm.c $(GEN_OPTS) $(GEN_HDRS)\r
310         @echo 'Building file: $<'\r
311         @echo 'Invoking: C6000 Compiler'\r
312         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="components/mhm/src/mhm.d" --obj_directory="components/mhm/src" $(GEN_OPTS__FLAG) "$<"\r
313         @echo 'Finished building: $<'\r
314         @echo ' '\r
315 \r
316 \r
317 \r
318 ##-include components/mss/src/subdir_rules.mk\r
319 components/mss/src/mss.obj: ../components/mss/src/mss.c $(GEN_OPTS) $(GEN_HDRS)\r
320         @echo 'Building file: $<'\r
321         @echo 'Invoking: C6000 Compiler'\r
322         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="components/mss/src/mss.d" --obj_directory="components/mss/src" $(GEN_OPTS__FLAG) "$<"\r
323         @echo 'Finished building: $<'\r
324         @echo ' '\r
325 \r
326 components/mss/src/mssproc.obj: ../components/mss/src/mssproc.c $(GEN_OPTS) $(GEN_HDRS)\r
327         @echo 'Building file: $<'\r
328         @echo 'Invoking: C6000 Compiler'\r
329         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 --include_path="$(C6X_GEN_INSTALL_PATH)/include" -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="components/mss/src/mssproc.d" --obj_directory="components/mss/src" $(GEN_OPTS__FLAG) "$<"\r
330         @echo 'Finished building: $<'\r
331         @echo ' '\r
332         \r
333 \r
334 \r
335 ##-include objects.mk\r
336 USER_OBJS :=\r
337 \r
338 LIBS := -laer_c.ae64P -lvau/lib/vau_c.ae66 -lvpe/lib/vpe_a.ae66 -lvpe/lib/vpe_c.ae66 -lutil/lib/util_c.ae66 -lmhm/lib/mhm_c.ae66 -llibc.a\r
339 \r
340 \r
341 \r
342 ifneq ($(MAKECMDGOALS),clean)\r
343 ifneq ($(strip $(S_DEPS)),)\r
344 -include $(S_DEPS)\r
345 endif\r
346 ifneq ($(strip $(S_UPPER_DEPS)),)\r
347 -include $(S_UPPER_DEPS)\r
348 endif\r
349 ifneq ($(strip $(S62_DEPS)),)\r
350 -include $(S62_DEPS)\r
351 endif\r
352 ifneq ($(strip $(C64_DEPS)),)\r
353 -include $(C64_DEPS)\r
354 endif\r
355 ifneq ($(strip $(ASM_DEPS)),)\r
356 -include $(ASM_DEPS)\r
357 endif\r
358 ifneq ($(strip $(CC_DEPS)),)\r
359 -include $(CC_DEPS)\r
360 endif\r
361 ifneq ($(strip $(SV7A_DEPS)),)\r
362 -include $(SV7A_DEPS)\r
363 endif\r
364 ifneq ($(strip $(S55_DEPS)),)\r
365 -include $(S55_DEPS)\r
366 endif\r
367 ifneq ($(strip $(C67_DEPS)),)\r
368 -include $(C67_DEPS)\r
369 endif\r
370 ifneq ($(strip $(CLA_DEPS)),)\r
371 -include $(CLA_DEPS)\r
372 endif\r
373 ifneq ($(strip $(C??_DEPS)),)\r
374 -include $(C??_DEPS)\r
375 endif\r
376 ifneq ($(strip $(CPP_DEPS)),)\r
377 -include $(CPP_DEPS)\r
378 endif\r
379 ifneq ($(strip $(S??_DEPS)),)\r
380 -include $(S??_DEPS)\r
381 endif\r
382 ifneq ($(strip $(C_DEPS)),)\r
383 -include $(C_DEPS)\r
384 endif\r
385 ifneq ($(strip $(C62_DEPS)),)\r
386 -include $(C62_DEPS)\r
387 endif\r
388 ifneq ($(strip $(CXX_DEPS)),)\r
389 -include $(CXX_DEPS)\r
390 endif\r
391 ifneq ($(strip $(C++_DEPS)),)\r
392 -include $(C++_DEPS)\r
393 endif\r
394 ifneq ($(strip $(ASM_UPPER_DEPS)),)\r
395 -include $(ASM_UPPER_DEPS)\r
396 endif\r
397 ifneq ($(strip $(K_DEPS)),)\r
398 -include $(K_DEPS)\r
399 endif\r
400 ifneq ($(strip $(C43_DEPS)),)\r
401 -include $(C43_DEPS)\r
402 endif\r
403 ifneq ($(strip $(INO_DEPS)),)\r
404 -include $(INO_DEPS)\r
405 endif\r
406 ifneq ($(strip $(S67_DEPS)),)\r
407 -include $(S67_DEPS)\r
408 endif\r
409 ifneq ($(strip $(SA_DEPS)),)\r
410 -include $(SA_DEPS)\r
411 endif\r
412 ifneq ($(strip $(S43_DEPS)),)\r
413 -include $(S43_DEPS)\r
414 endif\r
415 ifneq ($(strip $(OPT_DEPS)),)\r
416 -include $(OPT_DEPS)\r
417 endif\r
418 ifneq ($(strip $(PDE_DEPS)),)\r
419 -include $(PDE_DEPS)\r
420 endif\r
421 ifneq ($(strip $(S64_DEPS)),)\r
422 -include $(S64_DEPS)\r
423 endif\r
424 ifneq ($(strip $(C_UPPER_DEPS)),)\r
425 -include $(C_UPPER_DEPS)\r
426 endif\r
427 ifneq ($(strip $(C55_DEPS)),)\r
428 -include $(C55_DEPS)\r
429 endif\r
430 endif\r
431 \r
432 -include ../makefile.defs\r
433 \r
434 # Add inputs and outputs from these tool invocations to the build variables \r
435 EXE_OUTPUTS += \
436 K2G_bf.out \
437 \r
438 EXE_OUTPUTS__QUOTED += \
439 "K2G_bf.out" \
440 \r
441 BIN_OUTPUTS += \
442 K2G_bf.hex \
443 \r
444 BIN_OUTPUTS__QUOTED += \
445 "K2G_bf.hex" \
446 \r
447 \r
448 # All Target\r
449 all: K2G_bf.out\r
450 \r
451 # Tool invocations\r
452 K2G_bf.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)\r
453         @echo 'Building target: $@'\r
454         @echo 'Invoking: C6000 Linker'\r
455         "$(C6X_GEN_INSTALL_PATH)/bin/cl6x" -mv6600 -g --define=k2g02 --define=dsp0 --diag_warning=225 --diag_wrap=off --display_error_number -z -m"K2G_bf.map" --heap_size=0x800 --stack_size=0x800 -i"$(AER_INSTALL_PATH)/packages/ti/mas/aer/lib" -i"$(VOLIB_INSTALL_PATH)/packages/ti/mas/" -i"$(C6X_GEN_INSTALL_PATH)/lib" -i"$(C6X_GEN_INSTALL_PATH)/include" --reread_libs --define=CORE1=1 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="K2G_bf_linkInfo.xml" --rom_model -o "K2G_bf.out" $(ORDERED_OBJS)\r
456         @echo 'Finished building target: $@'\r
457         @echo ' '\r
458 \r
459 K2G_bf.hex: $(EXE_OUTPUTS)\r
460         @echo 'Invoking: C6000 Hex Utility'\r
461         "$(C6X_GEN_INSTALL_PATH)/bin/hex6x"  -o "K2G_bf.hex" $(EXE_OUTPUTS__QUOTED)\r
462         @echo 'Finished building: $@'\r
463         @echo ' '\r
464 \r
465 # Other Targets\r
466 clean:\r
467         -$(RM) $(GEN_MISC_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)$(GEN_FILES__QUOTED)$(BIN_OUTPUTS__QUOTED)$(GEN_OPTS__QUOTED)$(GEN_CMDS__QUOTED)\r
468         -$(RMDIR) $(GEN_MISC_DIRS__QUOTED)\r
469         -$(RM) "main.d" "components\clk.d" "components\fil.d" "components\sys.d" "components\sysasnr.d" "components\sysbf.d" "components\sysbfflt.d" "components\syseram.d" "components\sysiram.d" "components\sysmss.d" "components\sysvau.d" "components\mhm\src\mhm.d" "components\mss\src\mss.d" "components\mss\src\mssproc.d" \r
470         -$(RM) "main.obj" "components\clk.obj" "components\fil.obj" "components\sys.obj" "components\sysasnr.obj" "components\sysbf.obj" "components\sysbfflt.obj" "components\syseram.obj" "components\sysiram.obj" "components\sysmss.obj" "components\sysvau.obj" "components\mhm\src\mhm.obj" "components\mss\src\mss.obj" "components\mss\src\mssproc.obj" \r
471         -@echo 'Finished clean'\r
472         -@echo ' '\r
473 \r
474 .PHONY: all clean dependents\r
475 .SECONDARY:\r
476 \r
477 -include ../makefile.targets\r
478 \r