fix: makefile : use find instead of wildcard
to access to sub sub folder
This commit is contained in:
parent
5b23c60bf2
commit
41586c36e4
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ SRCDIR = src
|
|||||||
OBJDIR = obj
|
OBJDIR = obj
|
||||||
BUILDDIR = build
|
BUILDDIR = build
|
||||||
|
|
||||||
SRC := $(wildcard $(SRCDIR)/**/*.c)
|
SRC := $(shell find $(SRCDIR) -name '*.c')
|
||||||
OBJ := $(patsubst $(SRCDIR)/%.c,$(OBJDIR)/%.o,$(SRC))
|
OBJ := $(patsubst $(SRCDIR)/%.c,$(OBJDIR)/%.o,$(SRC))
|
||||||
|
|
||||||
CC = i386-elf-gcc
|
CC = i386-elf-gcc
|
||||||
|
Loading…
Reference in New Issue
Block a user