file_demo_bios/am57xx: use the common folder for all the shared files; change to...
[processor-sdk/audio-preprocessing.git] / file_demo_bios / k2g / build / makefile
index 98cf3e7b6e75dee7d39d5c33140570b993dc54a4..73aad9946a827ad51bdcb7c4e2f22ad772fe6493 100644 (file)
@@ -1,9 +1,9 @@
 # set global environment variables\r
 SDK_INSTALL_PATH ?= C:/ti\r
 C6X_GEN_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0\r
-XDC_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/xdctools_3_32_00_06_core\r
-BIOS_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/bios_6_45_01_29\r
-UIA_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/uia_2_00_03_43\r
+XDC_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/xdctools_3_32_01_22_core\r
+BIOS_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/bios_6_46_01_38\r
+UIA_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/uia_2_00_06_52\r
 XDAIS_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/xdais_7_24_00_04\r
 VOLIB_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/volib_C66_2_1_0_1\r
 AER_INSTALL_PATH ?= $(SDK_INSTALL_PATH)/aer_c64Px_obj_17_0_0_0\r
@@ -13,19 +13,20 @@ GEN_CMDS__FLAG := -l"configPkg/linker.cmd"
 \r
 ORDERED_OBJS += \
 "./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" \
+"./clk.obj" \\r
+"./fil.obj" \\r
+"./sys.obj" \\r
+"./sysasnr.obj" \\r
+"./sysbf.obj" \\r
+"./sysbfflt.obj" \\r
+"./sysdrc.obj" \\r
+"./syseram.obj" \\r
+"./sysiram.obj" \\r
+"./sysmss.obj" \\r
+"./sysvau.obj" \\r
+"./mhm.obj" \\r
+"./mss.obj" \\r
+"./mssproc.obj" \\r
 "../bflinker.cmd" \
 $(GEN_CMDS__FLAG) \
 -laer_c.ae64P \
@@ -43,8 +44,8 @@ ifeq ($(OS), Linux)
 RM := rm -f\r
 RMDIR := rm -d -f -r\r
 else\r
-RM := DEL /F\r
-RMDIR := RMDIR /S/Q\r
+RM := rm -f\r
+RMDIR := rm -r -f\r
 endif\r
 \r
 # All of the sources participating in the build are defined here\r
@@ -78,12 +79,23 @@ GEN_FILES += \
 ./configPkg/linker.cmd \\r
 ./configPkg/compiler.opt \r
 \r
+ifeq ($(OS), Linux)\r
+GEN_FILES__QUOTED += \\r
+"configPkg/linker.cmd" \\r
+"configPkg/compiler.opt" \r
+GEN_MISC_DIRS__QUOTED += \\r
+"configPkg/" \r
+DEPEND_FILES = "main.d" "clk.d" "fil.d" "sys.d" "sysasnr.d" "sysbf.d" "sysbfflt.d" "sysdrc.d" "syseram.d" "sysiram.d" "sysmss.d" "sysvau.d" "mhm.d" "mss.d" "mssproc.d" \r
+OBJECT_FILES = "main.obj" "clk.obj" "fil.obj" "sys.obj" "sysasnr.obj" "sysbf.obj" "sysbfflt.obj" "sysdrc.obj" "syseram.obj" "sysiram.obj" "sysmss.obj" "sysvau.obj" "mhm.obj" "mss.obj" "mssproc.obj" \r
+else\r
 GEN_FILES__QUOTED += \\r
 "configPkg\linker.cmd" \\r
 "configPkg\compiler.opt" \r
-\r
 GEN_MISC_DIRS__QUOTED += \\r
-"configPkg\" \r
+"configPkg" \r
+DEPEND_FILES = "main.d" "clk.d" "fil.d" "sys.d" "sysasnr.d" "sysbf.d" "sysbfflt.d" "sysdrc.d" "syseram.d" "sysiram.d" "sysmss.d" "sysvau.d" "mhm.d" "mss.d" "mssproc.d" \r
+OBJECT_FILES = "main.obj" "clk.obj" "fil.obj" "sys.obj" "sysasnr.obj" "sysbf.obj" "sysbfflt.obj" "sysdrc.d" "syseram.obj" "sysiram.obj" "sysmss.obj" "sysvau.obj" "mhm.obj" "mss.obj" "mssproc.obj" \r
+endif\r
 \r
 C_DEPS__QUOTED += \\r
 "main.d" \r
@@ -98,124 +110,130 @@ C_SRCS__QUOTED += \
 \r
 ##-include components/subdir_vars.mk\r
 C_SRCS += \\r
-../components/clk.c \\r
-../components/fil.c \\r
-../components/sys.c \\r
-../components/sysasnr.c \\r
-../components/sysbf.c \\r
-../components/sysbfflt.c \\r
-../components/syseram.c \\r
-../components/sysiram.c \\r
-../components/sysmss.c \\r
-../components/sysvau.c \r
+../../../common/components/clk.c \\r
+../../../common/components/fil.c \\r
+../../../common/components/sys.c \\r
+../../../common/components/sysasnr.c \\r
+../../../common/components/sysbf.c \\r
+../../../common/components/sysbfflt.c \\r
+../../../common/components/sysdrc.c \\r
+../../../common/components/syseram.c \\r
+../../../common/components/sysiram.c \\r
+../../../common/components/sysmss.c \\r
+../../../common/components/sysvau.c \r
 \r
 OBJS += \\r
-components/clk.obj \\r
-components/fil.obj \\r
-components/sys.obj \\r
-components/sysasnr.obj \\r
-components/sysbf.obj \\r
-components/sysbfflt.obj \\r
-components/syseram.obj \\r
-components/sysiram.obj \\r
-components/sysmss.obj \\r
-components/sysvau.obj \r
+clk.obj \\r
+fil.obj \\r
+sys.obj \\r
+sysasnr.obj \\r
+sysbf.obj \\r
+sysbfflt.obj \\r
+sysdrc.obj \\r
+syseram.obj \\r
+sysiram.obj \\r
+sysmss.obj \\r
+sysvau.obj \r
 \r
 C_DEPS += \\r
-components/clk.d \\r
-components/fil.d \\r
-components/sys.d \\r
-components/sysasnr.d \\r
-components/sysbf.d \\r
-components/sysbfflt.d \\r
-components/syseram.d \\r
-components/sysiram.d \\r
-components/sysmss.d \\r
-components/sysvau.d \r
+clk.d \\r
+fil.d \\r
+sys.d \\r
+sysasnr.d \\r
+sysbf.d \\r
+sysbfflt.d \\r
+sysdrc.d \\r
+syseram.d \\r
+sysiram.d \\r
+sysmss.d \\r
+sysvau.d \r
 \r
 C_DEPS__QUOTED += \\r
-"components\clk.d" \\r
-"components\fil.d" \\r
-"components\sys.d" \\r
-"components\sysasnr.d" \\r
-"components\sysbf.d" \\r
-"components\sysbfflt.d" \\r
-"components\syseram.d" \\r
-"components\sysiram.d" \\r
-"components\sysmss.d" \\r
-"components\sysvau.d" \r
+"clk.d" \\r
+"fil.d" \\r
+"sys.d" \\r
+"sysasnr.d" \\r
+"sysbf.d" \\r
+"sysbfflt.d" \\r
+"sysdrc.d" \\r
+"syseram.d" \\r
+"sysiram.d" \\r
+"sysmss.d" \\r
+"sysvau.d" \r
 \r
 OBJS__QUOTED += \\r
-"components\clk.obj" \\r
-"components\fil.obj" \\r
-"components\sys.obj" \\r
-"components\sysasnr.obj" \\r
-"components\sysbf.obj" \\r
-"components\sysbfflt.obj" \\r
-"components\syseram.obj" \\r
-"components\sysiram.obj" \\r
-"components\sysmss.obj" \\r
-"components\sysvau.obj" \r
+"clk.obj" \\r
+"fil.obj" \\r
+"sys.obj" \\r
+"sysasnr.obj" \\r
+"sysbf.obj" \\r
+"sysbfflt.obj" \\r
+"sysdrc.obj" \\r
+"syseram.obj" \\r
+"sysiram.obj" \\r
+"sysmss.obj" \\r
+"sysvau.obj" \r
 \r
 C_SRCS__QUOTED += \\r
-"../components/clk.c" \\r
-"../components/fil.c" \\r
-"../components/sys.c" \\r
-"../components/sysasnr.c" \\r
-"../components/sysbf.c" \\r
-"../components/sysbfflt.c" \\r
-"../components/syseram.c" \\r
-"../components/sysiram.c" \\r
-"../components/sysmss.c" \\r
-"../components/sysvau.c" \r
+"../../../common/components/clk.c" \\r
+"../../../common/components/fil.c" \\r
+"../../../common/components/sys.c" \\r
+"../../../common/components/sysasnr.c" \\r
+"../../../common/components/sysbf.c" \\r
+"../../../common/components/sysbfflt.c" \\r
+"../../../common/components/sysdrc.c" \\r
+"../../../common/components/syseram.c" \\r
+"../../../common/components/sysiram.c" \\r
+"../../../common/components/sysmss.c" \\r
+"../../../common/components/sysvau.c" \r
 \r
 \r
 \r
 ##-include components/mhm/src/subdir_vars.mk\r
 C_SRCS += \\r
-../components/mhm/src/mhm.c \r
+../../../common/components/mhm/src/mhm.c \r
 \r
 OBJS += \\r
-components/mhm/src/mhm.obj \r
+mhm.obj \r
 \r
 C_DEPS += \\r
-components/mhm/src/mhm.d \r
+mhm.d \r
 \r
 C_DEPS__QUOTED += \\r
-"components\mhm\src\mhm.d" \r
+"mhm.d" \r
 \r
 OBJS__QUOTED += \\r
-"components\mhm\src\mhm.obj" \r
+"mhm.obj" \r
 \r
 C_SRCS__QUOTED += \\r
-"../components/mhm/src/mhm.c" \r
+"../../../common/components/mhm/src/mhm.c" \r
 \r
 \r
 \r
 ##-include components/mss/src/subdir_vars.mk\r
 C_SRCS += \\r
-../components/mss/src/mss.c \\r
-../components/mss/src/mssproc.c \r
+../../../common/components/mss/src/mss.c \\r
+../../../common/components/mss/src/mssproc.c \r
 \r
 OBJS += \\r
-components/mss/src/mss.obj \\r
-components/mss/src/mssproc.obj \r
+mss.obj \\r
+mssproc.obj \r
 \r
 C_DEPS += \\r
-components/mss/src/mss.d \\r
-components/mss/src/mssproc.d \r
+mss.d \\r
+mssproc.d \r
 \r
 C_DEPS__QUOTED += \\r
-"components\mss\src\mss.d" \\r
-"components\mss\src\mssproc.d" \r
+"mss.d" \\r
+"mssproc.d" \r
 \r
 OBJS__QUOTED += \\r
-"components\mss\src\mss.obj" \\r
-"components\mss\src\mssproc.obj" \r
+"mss.obj" \\r
+"mssproc.obj" \r
 \r
 C_SRCS__QUOTED += \\r
-"../components/mss/src/mss.c" \\r
-"../components/mss/src/mssproc.c" \r
+"../../../common/components/mss/src/mss.c" \\r
+"../../../common/components/mss/src/mssproc.c" \r
 \r
 \r
 \r
@@ -239,100 +257,107 @@ main.obj: ../main.c $(GEN_OPTS) $(GEN_HDRS)
 \r
 \r
 ##-include components/subdir_rules.mk\r
-components/clk.obj: ../components/clk.c $(GEN_OPTS) $(GEN_HDRS)\r
+clk.obj: ../../../common/components/clk.c $(GEN_OPTS) $(GEN_HDRS)\r
+       @echo 'Building file: $<'\r
+       @echo 'Invoking: C6000 Compiler'\r
+       "$(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="./clk.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
+       @echo 'Finished building: $<'\r
+       @echo ' '\r
+\r
+fil.obj: ../../../common/components/fil.c $(GEN_OPTS) $(GEN_HDRS)\r
        @echo 'Building file: $<'\r
        @echo 'Invoking: C6000 Compiler'\r
-       "$(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
+       "$(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="fil.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
        @echo 'Finished building: $<'\r
        @echo ' '\r
 \r
-components/fil.obj: ../components/fil.c $(GEN_OPTS) $(GEN_HDRS)\r
+sys.obj: ../../../common/components/sys.c $(GEN_OPTS) $(GEN_HDRS)\r
        @echo 'Building file: $<'\r
        @echo 'Invoking: C6000 Compiler'\r
-       "$(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
+       "$(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="sys.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
        @echo 'Finished building: $<'\r
        @echo ' '\r
 \r
-components/sys.obj: ../components/sys.c $(GEN_OPTS) $(GEN_HDRS)\r
+sysasnr.obj: ../../../common/components/sysasnr.c $(GEN_OPTS) $(GEN_HDRS)\r
        @echo 'Building file: $<'\r
        @echo 'Invoking: C6000 Compiler'\r
-       "$(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
+       "$(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="sysasnr.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
        @echo 'Finished building: $<'\r
        @echo ' '\r
 \r
-components/sysasnr.obj: ../components/sysasnr.c $(GEN_OPTS) $(GEN_HDRS)\r
+sysbf.obj: ../../../common/components/sysbf.c $(GEN_OPTS) $(GEN_HDRS)\r
        @echo 'Building file: $<'\r
        @echo 'Invoking: C6000 Compiler'\r
-       "$(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
+       "$(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="sysbf.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
        @echo 'Finished building: $<'\r
        @echo ' '\r
 \r
-components/sysbf.obj: ../components/sysbf.c $(GEN_OPTS) $(GEN_HDRS)\r
+sysbfflt.obj: ../../../common/components/sysbfflt.c $(GEN_OPTS) $(GEN_HDRS)\r
        @echo 'Building file: $<'\r
        @echo 'Invoking: C6000 Compiler'\r
-       "$(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
+       "$(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="sysbfflt.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
        @echo 'Finished building: $<'\r
        @echo ' '\r
 \r
-components/sysbfflt.obj: ../components/sysbfflt.c $(GEN_OPTS) $(GEN_HDRS)\r
+sysdrc.obj: ../../../common/components/sysdrc.c $(GEN_OPTS) $(GEN_HDRS)\r
        @echo 'Building file: $<'\r
        @echo 'Invoking: C6000 Compiler'\r
-       "$(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
+       "$(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="sysdrc.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
        @echo 'Finished building: $<'\r
        @echo ' '\r
 \r
-components/syseram.obj: ../components/syseram.c $(GEN_OPTS) $(GEN_HDRS)\r
+syseram.obj: ../../../common/components/syseram.c $(GEN_OPTS) $(GEN_HDRS)\r
        @echo 'Building file: $<'\r
        @echo 'Invoking: C6000 Compiler'\r
-       "$(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
+       "$(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="syseram.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
        @echo 'Finished building: $<'\r
        @echo ' '\r
 \r
-components/sysiram.obj: ../components/sysiram.c $(GEN_OPTS) $(GEN_HDRS)\r
+sysiram.obj: ../../../common/components/sysiram.c $(GEN_OPTS) $(GEN_HDRS)\r
        @echo 'Building file: $<'\r
        @echo 'Invoking: C6000 Compiler'\r
-       "$(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
+       "$(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="sysiram.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
        @echo 'Finished building: $<'\r
        @echo ' '\r
 \r
-components/sysmss.obj: ../components/sysmss.c $(GEN_OPTS) $(GEN_HDRS)\r
+sysmss.obj: ../../../common/components/sysmss.c $(GEN_OPTS) $(GEN_HDRS)\r
        @echo 'Building file: $<'\r
        @echo 'Invoking: C6000 Compiler'\r
-       "$(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
+       "$(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="sysmss.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
        @echo 'Finished building: $<'\r
        @echo ' '\r
 \r
-components/sysvau.obj: ../components/sysvau.c $(GEN_OPTS) $(GEN_HDRS)\r
+sysvau.obj: ../../../common/components/sysvau.c $(GEN_OPTS) $(GEN_HDRS)\r
        @echo 'Building file: $<'\r
        @echo 'Invoking: C6000 Compiler'\r
-       "$(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
+       "$(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="sysvau.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
        @echo 'Finished building: $<'\r
        @echo ' '\r
 \r
 \r
 \r
 ##-include components/mhm/src/subdir_rules.mk\r
-components/mhm/src/mhm.obj: ../components/mhm/src/mhm.c $(GEN_OPTS) $(GEN_HDRS)\r
+mhm.obj: ../../../common/components/mhm/src/mhm.c $(GEN_OPTS) $(GEN_HDRS)\r
        @echo 'Building file: $<'\r
        @echo 'Invoking: C6000 Compiler'\r
-       "$(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
+       "$(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="mhm.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
        @echo 'Finished building: $<'\r
        @echo ' '\r
 \r
 \r
 \r
 ##-include components/mss/src/subdir_rules.mk\r
-components/mss/src/mss.obj: ../components/mss/src/mss.c $(GEN_OPTS) $(GEN_HDRS)\r
+mss.obj: ../../../common/components/mss/src/mss.c $(GEN_OPTS) $(GEN_HDRS)\r
        @echo 'Building file: $<'\r
        @echo 'Invoking: C6000 Compiler'\r
-       "$(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
+       "$(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="mss.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
        @echo 'Finished building: $<'\r
        @echo ' '\r
 \r
-components/mss/src/mssproc.obj: ../components/mss/src/mssproc.c $(GEN_OPTS) $(GEN_HDRS)\r
+mssproc.obj: ../../../common/components/mss/src/mssproc.c $(GEN_OPTS) $(GEN_HDRS)\r
        @echo 'Building file: $<'\r
        @echo 'Invoking: C6000 Compiler'\r
-       "$(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
+       "$(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="mssproc.d" --obj_directory="." $(GEN_OPTS__FLAG) "$<"\r
        @echo 'Finished building: $<'\r
        @echo ' '\r
        \r
@@ -472,8 +497,8 @@ K2G_bf.hex: $(EXE_OUTPUTS)
 clean:\r
        -$(RM) $(GEN_MISC_FILES__QUOTED)$(EXE_OUTPUTS__QUOTED)$(GEN_FILES__QUOTED)$(BIN_OUTPUTS__QUOTED)$(GEN_OPTS__QUOTED)$(GEN_CMDS__QUOTED)\r
        -$(RMDIR) $(GEN_MISC_DIRS__QUOTED)\r
-       -$(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
-       -$(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
+       -$(RM) ${DEPEND_FILES} \r
+       -$(RM) ${OBJECT_FILES}\r
        -@echo 'Finished clean'\r
        -@echo ' '\r
 \r