From 9afe4a17969b6860b3d302d167b1ce2b5c52e573 Mon Sep 17 00:00:00 2001 From: Aetias Date: Wed, 20 Dec 2023 10:36:21 +0100 Subject: [PATCH] Find asm/C++ sources in all subdirs --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 99d987a7..f051fa3d 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,8 @@ OBJS_FILE := $(BUILD_DIR)/arm9_objects.txt ARM7_BIOS := $(ROOT)/arm7_bios.bin ASSETS_TXT := $(ROOT)/assets.txt -ASM_FILES := $(wildcard asm/*.s) $(wildcard asm/*/*.s) -CXX_FILES := $(wildcard src/*.cpp) $(wildcard src/*/*.cpp) +ASM_FILES := $(shell find asm -name *.s) +CXX_FILES := $(shell find src -name *.cpp) ASM_OBJS = $(ASM_FILES:%.s=$(TARGET_DIR)/%.s.o) CXX_OBJS = $(CXX_FILES:%.cpp=$(TARGET_DIR)/%.cpp.o)