mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 22:36:48 +00:00
13 lines
201 B
Makefile
13 lines
201 B
Makefile
|
|
CFLAGS += -I .
|
|
|
|
|
|
all: apu_boot.o smp.o
|
|
|
|
|
|
apu_boot.o: apu_boot.S
|
|
$(CC) -E apu_boot.S > _apu_boot.s # 预处理
|
|
as $(ASFLAGS) -o apu_boot.o _apu_boot.s
|
|
|
|
smp.o: smp.c
|
|
$(CC) $(CFLAGS) -c smp.c -o smp.o
|