将分配簇的功能单独独立成一个函数

This commit is contained in:
fslongjin
2022-07-05 23:07:25 +08:00
parent 9bf52cf2ab
commit c4f90f4883
7 changed files with 410 additions and 200 deletions

View File

@ -0,0 +1,20 @@
CFLAGS += -I .
all: fat32.o MBR.o VFS.o fat_ent.o
fat32.o: fat32/fat32.c
gcc $(CFLAGS) -c fat32/fat32.c -o fat32/fat32.o
MBR.o: MBR.c
gcc $(CFLAGS) -c MBR.c -o MBR.o
VFS.o: VFS/VFS.c
gcc $(CFLAGS) -c VFS/VFS.c -o VFS/VFS.o
fat_ent.o: fat32/fat_ent.c
gcc $(CFLAGS) -c fat32/fat_ent.c -o fat32/fat_ent.o
clean:
echo "Done."