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