依然是一些针对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

@ -5,8 +5,8 @@ CFLAGS += -I .
all: entry.o irq.o softirq.o trap.o
entry.o: entry.S
gcc -E entry.S > entry.s
as $(ASFLAGS) -o entry.o entry.s
gcc -E entry.S > _entry.s
as $(ASFLAGS) -o entry.o _entry.s
trap.o: trap.c
gcc $(CFLAGS) -c trap.c -o trap.o