依然是一些针对Mac编译环境的适配

This commit is contained in:
liric
2022-09-15 21:19:20 +08:00
parent 499d32d17c
commit 518ce3818c
6 changed files with 10 additions and 9 deletions

View File

@ -6,8 +6,8 @@ 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
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