?? makefile
字號:
# Standalone Makefile for rt_com## Copyright (C) 1997-2000 Jochen K黳per# RTLINUX_V3 modifications - 6 May 2002 Marc Le Douarain# set here RTAI, RTLINUX_V1, RTLINUX_V2 or RTLINUX_V3# in accordance with your system#SYSTEM = RTAISYSTEM = RTLINUX_V3DISTFILES = 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 = ../../include/INSTALL = install -c -m 644OBJS = rt_com.o # rt_com_posix.o currently broken ;-(VERSION = 0.5.5pre1ifeq ($(SYSTEM),RTLINUX_V3)include ../../rtl.mkendifCFLAGS += -D$(SYSTEM) -DVERSION=\"$(VERSION)\"ifneq ($(SYSTEM),RTLINUX_V3)CFLAGS += -I../../include -O2endif.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_comifneq ($(SYSTEM),RTLINUX_V3)examples: cd test && makeelseexamples: cd test && make -f Makefile_rtlinuxtest: $(OBJS) examples cd test && make test -f Makefile_rtlinuxendif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -