DragonOS/kernel/smp/Makefile
2022-07-25 11:05:30 +08:00

13 lines
195 B
Makefile

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