da0f39d64a864a9020aee24e38a4eff6e902177d
1 #
2 # This file was generated based on the configuration script:
3 # C:\ti\processor_sdk_rtos_k2g_3_03_00_00\demos\audio-preprocessing\realtime_demo_bios\k2g\K2G_bf_rt.cfg
4 #
5 # This makefile may be included in other makefiles that need to build
6 # the libraries containing the compiled source files generated as
7 # part of the configuration step.
9 #
10 # ======== GEN_SRC_DIR =========
11 # The path to the sources generated during configuration
12 #
13 # This path must be either absolute or relative to the build directory.
14 #
15 # The absolute path to the generated source directory (at the time the
16 # sources were generated) is:
17 # C:\ti\processor_sdk_rtos_k2g_3_03_00_00\demos\audio-preprocessing\realtime_demo_bios\k2g\src
18 #
19 GEN_SRC_DIR ?= ../src
21 ifeq (,$(wildcard $(GEN_SRC_DIR)))
22 $(error "ERROR: GEN_SRC_DIR must be set to the directory containing the generated sources")
23 endif
25 #
26 # ======== .force ========
27 # The .force goal is used to force the build of any goal that names it as
28 # a prerequisite
29 #
30 .PHONY: .force
32 #
33 # ======== library macros ========
34 #
35 sysbios_SRC = $(GEN_SRC_DIR)/sysbios
36 sysbios_LIB = $(GEN_SRC_DIR)/sysbios/sysbios.ae66
38 #
39 # ======== dependencies ========
40 #
41 all: $(sysbios_LIB)
42 clean: .sysbios_clean
45 # ======== convenient build goals ========
46 .PHONY: sysbios
47 sysbios: $(GEN_SRC_DIR)/sysbios/sysbios.ae66
49 # CDT managed make executables depend on $(OBJS)
50 OBJS += $(sysbios_LIB)
52 #
53 # ======== rules ========
54 #
55 $(sysbios_LIB): .force
56 @echo making $@ ...
57 @$(MAKE) -C $(sysbios_SRC)
59 .sysbios_clean:
60 @echo cleaning $(sysbios_SRC) ...
61 -@$(MAKE) --no-print-directory -C $(sysbios_SRC) clean