makefile

来自「模拟器提供了一个简单易用的平台」· 代码 · 共 58 行

TXT
58
字号
## generic Makefile to use when you've got CWEB# (add it to, or add to it, whatever you like)##======================================================================CFLAGS = -gMLIB = -lmRM = /bin/rm -fWFILES = extex.w treeprint.w wc.w wmerge.w wordtest.w oemacs.w#======================================================================.SUFFIXES: .tex .dvi .w.w.tex:	cweave $*.tex.dvi:		tex $<.w.dvi:	make $*.tex	make $*.dvi.w.c:	ctangle $*.w.o:	make $*.c	make $*.o.c.o:	cc $(CFLAGS) -c $*.c.w:	make $*.c	cc $(CFLAGS) $*.c -o $*#======================================================================all: $(WFILES: .w=) excwebexcweb: extex	ln extex excweboemacs: oemacs.c	cc $(CFLAGS) -I/usr/openwin/include oemacs.c \             -o oemacs -lxview -lolgx -lX11doc: $(WFILES:.w=.dvi)clean:	$(RM) *~ \#~ .\#* *.o *.log *.dvi *.toc core a.outclobber: clean	$(RM) $(WFILES:.w=) $(WFILES:.w=.c) $(WFILES:.w=.tex)

⌨️ 快捷键说明

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