makefile
来自「fsmlabs的real time linux的内核」· 代码 · 共 44 行
TXT
44 行
all: sig_sem.o sig_timedsem.oinclude ../../../rtl.mkhelp: @echo "/********************************************************************/" @echo "/********************************************************************/" @echo "/* In this program, various threads are blocked on a semaphore. */" @echo "/* While they are blocked other thread generates a signal to no */" @echo "/* odd semaphore blocked threads. Then no odd threads are */" @echo "/* interrumped and gets out the semaphore. The other threads */" @echo "/* remain blocked. There is also a test program for timed waits. */" @echo "/********************************************************************/" @echo "/********************************************************************/"clean: rm -f *.otest: all help @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 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 sig_sem.o @sleep 3 @echo "Now let's stop the application" @echo "Type <return> to finish" @read junk @rmmod sig_seminclude ../../../Rules.make
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?