From 41586c36e43b8e8b870c715d969fa2b072e639cb Mon Sep 17 00:00:00 2001 From: starnakin Date: Sat, 7 Sep 2024 14:17:08 +0200 Subject: [PATCH] fix: makefile : use find instead of wildcard to access to sub sub folder --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8d74865..4b578fb 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ SRCDIR = src OBJDIR = obj BUILDDIR = build -SRC := $(wildcard $(SRCDIR)/**/*.c) +SRC := $(shell find $(SRCDIR) -name '*.c') OBJ := $(patsubst $(SRCDIR)/%.c,$(OBJDIR)/%.o,$(SRC)) CC = i386-elf-gcc