makefile

来自「rtlinux3.0 的源代码」· 代码 · 共 47 行

TXT
47
字号
all: rt_process.o irqsema.o monitor histplotinclude ../../rtl.mkhistplot: histplot.c	$(CC) ${USER_CFLAGS} -o histplot histplot.cmonitor: monitor.c	$(CC) ${USER_CFLAGS} ${INCLUDE} -Wall -O2 -o monitor monitor.ctest: all	@echo "This tests scheduling accuracy"	@echo "by running a single periodic task using the one"	@echo "shot schedular and testing 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 hello	-rmmod sound	-rmmod rt_process	-rmmod frank_module	(cd ../../; scripts/rmrtl)	@echo "Now insert the fifo and scheduler"	@echo "Type <return> to continue"	@read junk	(cd ../../; scripts/insrtl)	@echo "Now start the real-time tasks  module"	@echo "Type <return> 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_timeclean:	rm -f *.o monitor histplot periodic_monitor gnuplot.outinclude $(RTL_DIR)/Rules.make

⌨️ 快捷键说明

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