collab/mm20
git clone https://git.julia.blue/collab/mm20
ed897ff
firmware
1# 2# This file was generated based on the configuration script: 3# C:\Users\Allen\Documents\GitHub\mm20\CCS\mm\gpiointerrupt.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. 8 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\Allen\Documents\GitHub\mm20\CCS\mm\src 18# 19GEN_SRC_DIR ?= ../src 20 21ifeq (,$(wildcard $(GEN_SRC_DIR))) 22$(error "ERROR: GEN_SRC_DIR must be set to the directory containing the generated sources") 23endif 24 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# 35sysbios_SRC = $(GEN_SRC_DIR)/sysbios 36sysbios_LIB = $(GEN_SRC_DIR)/sysbios/sysbios.aem4f 37 38# 39# ======== dependencies ======== 40# 41all: $(sysbios_LIB) 42clean: .sysbios_clean 43 44 45# ======== convenient build goals ======== 46.PHONY: sysbios 47sysbios: $(GEN_SRC_DIR)/sysbios/sysbios.aem4f 48 49# CDT managed make executables depend on $(OBJS) 50OBJS += $(sysbios_LIB) 51 52# 53# ======== rules ======== 54# 55$(sysbios_LIB): .force 56 @echo making $@ ... 57 @$(MAKE) -C $(sysbios_SRC) 58 59.sysbios_clean: 60 @echo cleaning $(sysbios_SRC) ... 61 -@$(MAKE) --no-print-directory -C $(sysbios_SRC) clean 62