]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - apps/tidep0079.git/blob - EC_Master_SysBios_Am572x/Workspace/SYSBIOS_AM57xx/EcMasterDemo/src/makefile.libs
ECMaster ported to PSDK 4.3
[apps/tidep0079.git] / EC_Master_SysBios_Am572x / Workspace / SYSBIOS_AM57xx / EcMasterDemo / src / makefile.libs
1 #
2 # This file was generated based on the configuration script:
3 #     C:\Users\a0133185\Desktop\TechSupport\Industrial\Acontis_EC_master\Porting_PSDK4.3\EC_Master_SysBios_Am572x\Workspace\SYSBIOS_AM57xx\EcMasterDemo\EcMaster.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:\Users\a0133185\Desktop\TechSupport\Industrial\Acontis_EC_master\Porting_PSDK4.3\EC_Master_SysBios_Am572x\Workspace\SYSBIOS_AM57xx\EcMasterDemo\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
31       
32 #
33 # ======== library macros ========
34 #
35 sysbios_SRC = $(GEN_SRC_DIR)/sysbios
36 sysbios_LIB = $(GEN_SRC_DIR)/sysbios/sysbios.aa15fg
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.aa15fg
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