📄 makefile
字号:
all: rt_process.o app# you might have to change this# the path to the rt-linux kernel RTLINUX = ../../cur_linuxINCLUDE = ${RTLINUX}/include# if you want to get a "pure" scheduler, comment this lineDEBUG = 1CFLAGS = -O2 -WallDEFINE = -D__KERNEL__ -D__RT__ ifdef DEBUGDEFINE += -DDEBUGall: rt_process.o rt_monotonic_sched.o appelseall: rt_monotonic_sched.oendifapp: app.c gcc -I${INCLUDE} ${CFLAGS} ${DEFINE} -o app app.crt_process.o: rt_process.c gcc ${DEFINE} -I${INCLUDE} -O2 -DCPU=586 -c -o rt_process.o rt_process.crt_monotonic_sched.o: rt_monotonic_sched.c gcc ${DEFINE} -I${INCLUDE} -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE -DMODVERSIONS -include ${INCLUDE}/linux/modversions.h -c -o rt_monotonic_sched.o rt_monotonic_sched.cclean: rm -f app rt_process.o rt_monotonic_sched.ostart: app insmod ${RTLINUX}/modules/rt_fifo_new.o insmod rt_monotonic_sched.o app > data.out & insmod rt_process.ostop: rmmod rt_process rmmod rt_monotonic_sched rmmod rt_fifo_new
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -