1 2CFLAGS += -I . 3 4 5kernel_process_objs:= $(shell find ./*.c) 6 7ECHO: 8 @echo "$@" 9 10 11$(kernel_process_objs): ECHO 12 $(CC) $(CFLAGS) -c $@ -o $@.o 13 14procs.o: proc.S 15 $(CC) -E proc.S > _proc.s 16 $(AS) $(ASFLAGS) -o procs.o _proc.s 17 18all: procs.o $(kernel_process_objs) 19 20 21clean: 22 echo "Done."