####################################### # determine local absolute path of this script ####################################### CWD_INC := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))/ ####################################### # common parts for both projects ####################################### # C sources C_SOURCES += $(wildcard $(CWD_INC)src/*.c) # C includes C_INCLUDES += -I$(CWD_INC)inc # C defines C_DEFS += # ASM sources ASM_SOURCES +=