more make refactor

This commit is contained in:
hathach
2025-10-14 17:53:55 +07:00
parent 0a2b6e77da
commit c48bbfab5e
45 changed files with 133 additions and 152 deletions

View File

@ -2,10 +2,12 @@ include ../../../hw/bsp/family_support.mk
INC += \
src \
$(TOP)/hw \
# Example source
EXAMPLE_SOURCE += $(wildcard src/*.c)
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
EXAMPLE_SOURCE += \
src/main.c
include ../../build_system/make/rules.mk
SRC_C += $(addprefix $(EXAMPLE_PATH)/, $(EXAMPLE_SOURCE))
include ../../../hw/bsp/family_rules.mk