wrench: 更新Makefile

This commit is contained in:
fslongjin
2022-07-25 11:05:30 +08:00
parent 9dfd4d9d6e
commit a3b5102a36
23 changed files with 427 additions and 351 deletions

13
kernel/smp/Makefile Normal file
View File

@ -0,0 +1,13 @@
CFLAGS += -I .
all: apu_boot.o smp.o
apu_boot.o: apu_boot.S
gcc -E apu_boot.S > apu_boot.s # 预处理
as $(ASFLAGS) -o apu_boot.o apu_boot.s
smp.o: smp.c
gcc $(CFLAGS) -c smp.c -o smp.o