?? makefile
字號:
all: app.o rtl_cpp.oinclude ../../rtl.mkCRTBEGIN=`g++ -print-file-name=crtbegin.o` CRTEND=`g++ -print-file-name=crtend.o`app.o: hello.o $(LD) -r -o app.o $(CRTBEGIN) hello.o $(CRTEND)clean: rm -f *.otest: all @echo "This is a simple RTLinux program" @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 -rmmod rtl_cpp (cd $(RTL_DIR); scripts/rmrtl) @echo "Now insert the fifo and scheduler" @echo "Type <return> to continue" @read junk (cd $(RTL_DIR); scripts/insrtl) @echo "Now insert the C++ support module" insmod rtl_cpp.o @echo "Now start the real-time tasks module" @echo "Type <return> to continue" @read junk @insmod app.o @sleep 3 @echo "Now let's stop the application" @echo "Type <return> to finish" @read junk @rmmod app @rmmod rtlcppinclude $(RTL_DIR)/Rules.make
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -