Clean up makefiles with a source grabber function

This commit is contained in:
2025-09-02 00:10:07 +02:00
parent 2015e0e0aa
commit 4e3c386942
5 changed files with 58 additions and 38 deletions

View File

@ -7,7 +7,7 @@ APP_DIR := $(shell find . -mindepth 1 -maxdepth 1 -type d -not -path "./arch")
all:
rm -f FILES.txt
touch FILES.txt
for dir in $(APP_DIR); do make -C $$dir FILES=$(CURRENT_DIR)/FILES.txt all; done
for dir in $(APP_DIR); do make -C $$dir ROOT=$(ROOT) FILES=$(CURRENT_DIR)/FILES.txt all; done
clean:
for dir in $(APP_DIR); do make -C $$dir clean; done