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