makefile
来自「rtlinux3.0 的源代码」· 代码 · 共 38 行
TXT
38 行
all: sound.o# testresched.o sendresched.o# all: rt_process.o rt_irq.o rt_irq_gen.o nonrt_irq.o monitorMYCFLAGS = -O2 -Wallinclude ../../../rtl.mksound.o: sound.c $(CC) ${INCLUDE} ${CFLAGS} -c sound.c#test, remove any modules, load new ones and run apptest: @echo "Sound test" @echo "Type <return> to continue" @read junk @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 -rmmod rt_process (cd $(RTL_DIR); scripts/rmrtl) @echo "Now insert the fifo and the scheduler" @echo "Type <return> to continue" @read junk (cd $(RTL_DIR); scripts/insrtl) @echo "Now start the real-time tasks module" @echo "Type <return> to continue" @read junk @insmod sound.o @echo "Now starting the application" @cat linux.au >/dev/rtf0clean: rm -f *.oinclude $(RTL_DIR)/Rules.make
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?