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

📄 makefile_realtime

📁 电路仿真程序 Classic Ladder is coded 100% in C.It can be used for educational purposes or anything you wan
💻
字号:
MODULE_FOR_RTL = module_rtlinux.o classicladder.o calc.o vars_access.o arithm_eval.o hardware.o# Following not taken into account.... :-(CFLAGS += -DRTLINUX_SUPPORTall: $(MODULE_FOR_RTL)	$(LD) -r -o classicladder_rtl_module.o $(MODULE_FOR_RTL)include /usr/rtlinux/rtl.mktest: all	@echo "#################################################"	@echo "# ClassicLadder -realtime- with RTLinux support #"	@echo "#################################################"	@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 mbuff	-rmmod classicladder_rtl_module.o	(cd /usr/rtlinux/; scripts/rmrtl)	@echo "Now insert the fifo and scheduler"	@echo "Type <return> to continue"	@read junk	(cd /usr/rtlinux/; scripts/insrtl)	@echo "Now start the real-time task module (calc of the rungs)"	@echo "Type <return> to continue"	@read junk	@sync	@sync	@insmod /usr/rtlinux/modules/mbuff.o	@insmod classicladder_rtl_module.o	@echo "Now start the GTK application (not real-time)"	./classicladder_rtl_support	@echo "Now let's remove the real-time module"	@rmmod classicladder_rtl_module	@rmmod mbuff#include $(RTL_DIR)/Rules.make

⌨️ 快捷键说明

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