new: 改变filesystem的编译文件结构

This commit is contained in:
fslongjin
2022-09-05 17:06:42 +08:00
parent 9f98a07345
commit 0fcba99282
4 changed files with 62 additions and 11 deletions

View File

@ -0,0 +1,17 @@
CFLAGS += -I .
kernel_fs_fat32_objs:= $(shell find ./*.c)
ECHO:
@echo "$@"
$(kernel_fs_fat32_objs): ECHO
gcc $(CFLAGS) -c $@ -o $@.o
all: $(kernel_fs_fat32_objs)