1 2CFLAGS += -I . 3 4 5all: entry.o irq.o softirq.o trap.o 6 7entry.o: entry.S 8 $(CC) -E entry.S > _entry.s 9 as $(ASFLAGS) -o entry.o _entry.s 10 11trap.o: trap.c 12 $(CC) $(CFLAGS) -c trap.c -o trap.o 13 14softirq.o: softirq.c 15 $(CC) $(CFLAGS) -c softirq.c -o softirq.o 16 17irq.o: irq.c 18 $(CC) $(CFLAGS) -c irq.c -o irq.o