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

📄 makefile

📁 fsmlabs的real time linux的内核
💻
字号:
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 + -