merged multiple files for one topic into one markdown file, did some refactoring in linux.md

This commit is contained in:
scbj
2025-06-24 11:52:38 +02:00
parent 28d472b36d
commit 9103bcd51c
10 changed files with 115 additions and 89 deletions

13
examples/make/sources.mk Normal file
View File

@@ -0,0 +1,13 @@
AS_FILES := ./startup_stm32l552xx.s
C_FILES := ./main.c
C_FILES += ./system_stm32l5xx.c
C_FILES += ./sysmem.c
C_FILES += ./syscalls.c
# determine path and prefix sources
SRC_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
SRC_PATH := $(notdir $(patsubst %/,%,$(dir $(SRC_PATH))))
AS_SOURCES += $(addprefix $(SRC_PATH)/,$(notdir $(AS_FILES)))
C_SOURCES += $(addprefix $(SRC_PATH)/,$(notdir $(C_FILES)))