⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 RT-LINUX2.2源代码,RT-LINUX是硬实时操作系统,在实时性要求高的场合得到广泛应用
💻
字号:
all: rt_process.o monitorMYCFLAGS = -O2 -Wallinclude rtl.mkmonitor: monitor.c	$(CC) ${INCLUDE} ${MYCFLAGS} -o monitor monitor.c# rt_process.o: rt_process.c common.h#	$(CC) ${INCLUDE} ${CFLAGS} rt_process.cstop:  dummy	rmmod rt_processstart:  dummy	insmod rt_processrt_irq.o: rt_irq.c common.h	$(CC) ${INCLUDE} ${CFLAGS} rt_irq.crt_irq_gen.o: rt_irq_gen.c common.h	$(CC) ${INCLUDE} ${CFLAGS} rt_irq_gen.cnonrt_irq.o: nonrt_irq.c common.h	$(CC) ${INCLUDE} ${CFLAGS} -c nonrt_irq.c#test, remove any modules, load new ones and run apptest: 	@echo "This test estimates scheduling accuracy"	@echo "by running a single periodic task"	@echo "and checking times when it is called"	@echo "First we remove any existing rtl-modules"	@echo "You may see error warnings from \"make\" - ignore them"	@echo "Type <return> to continue"	@read junk	-rmmod frank_module 	(cd $(RTL_DIR); ./rmrtl)	@echo "Now insert the fifo and scheduler"	@echo "Type <return> to continue"	@read junk	(cd $(RTL_DIR); ./insrtl)	@echo "Now start the real-time tasks  module"	@echo "Hit Enter to continue"	@read junk	@insmod rt_process.o	@echo "Now starting the application"	@echo "The \"min\" is the smallest timing error"	@echo "A negative value means that the task ran too early"	@echo "The \"max\" is the largest timing error"	@./monitorstop_test:	-rmmod rt_process	-rmmod rtl_fifo	-rmmod rtl_sched	-rmmod rtl_fpschedclean:	rm -f *.o monitor .PHONY:  dummy

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -