Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
456 B
Makefile
21 lines
456 B
Makefile
|
|
#######################################
|
|
# 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 +=
|