📄 makefile
字号:
# Standalone Makefile for rt_com## Copyright (C) 1997-2000 Jochen K黳perSYSTEM = RTAIDISTFILES = rt_com.c rt_com_posix.c rt_com.h rt_comP.h \ ChangeLog COPYING License Makefile README TODO \ doc/rt_com.tex doc/rt_com.pdf \ test/Makefile test/hello_world.c test/hello_world2.c test/testcom.c test/testcomrtai.c \ webpages/index.htmlINCLUDEDIR = /usr/include/rtlinuxINSTALL = install -c -m 644OBJS = rt_com.o # rt_com_posix.o currently broken ;-(VERSION = 0.5.5pre1CFLAGS += -D$(SYSTEM) -DVERSION=\"$(VERSION)\"CFLAGS += -I/usr/include/rtlinux -O2.c.o: Makefile $(CC) $(CFLAGS) -c $<all: $(OBJS) examplesdoc: doc/rt_com.pdfclean: rm -fr $(OBJS) testcom.o rt_com-$(VERSION) cd test && make cleandist: rt_com.tar.gzinstall: rt_com.o $(INSTALL) $(OBJS) /lib/modules/`uname -r`/misc/ $(INSTALL) rt_com.h $(INCLUDEDIR)/rt_com.hrt_com.tar.gz: $(DISTFILES) @mkdir -p rt_com-$(VERSION) \ && cp -aP $(DISTFILES) rt_com-$(VERSION) \ && GZIP=--best tar czf rt_com-$(VERSION).tar.gz rt_com-$(VERSION) \ && rm -rf rt_com-$(VERSION)doc/rt_com.pdf: doc/rt_com.tex @cd doc && pdflatex rt_com && pdflatex rt_comexamples: cd test && make
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -