📄 makefile.src
字号:
## M A K E F I L E# ---------------## Description:# Compiles and links CForms## @(#) Makefile.src,v 1.23 1993/07/21 01:14:59 lasse Exp## By Lars Berntzon (lab@cap.se)## # Installation places - modify theese four your system.#DEST = /usr/localDESTBIN = $(DEST)/binDESTLIB = $(DEST)/libDESTINC = $(DEST)/include## Options to the compiler.#DEFINES = -g## Don't ever edit theese lines.#@CC@CFLAGS@LATEX@LDFLAGS@CP@RANLIB@YACCSHELL = /bin/shDIRS = src doc example lib pic_libTARGET = installCOMPILE.c = $(CC) -c $(CFLAGS)CLEAN = rcscleanMOPTS = "LDFLAGS=$(LDFLAGS)" \ "CC=$(CC)" \ "CFLAGS=$(CFLAGS)" \ "CP=$(CP)"\ "SHELL=$(SHELL)"\ "RANLIB=$(RANLIB)" \ "YACC=$(YACC)" \ "LATEX=$(LATEX)"default: src pic_lib @echo "Now you can try to do 'make example' and then run example/cforms"all: src pic_lib doc examplesrc: phony (cd src; $(MAKE) $(MFLAGS) $(MOPTS) $(TARGET))pic_lib: phony (cd pic_lib; $(MAKE) $(MFLAGS) $(MOPTS) $(TARGET))doc: phony (cd doc; $(MAKE) $(MFLAGS) $(MOPTS) $(TARGET))example: src pic_lib phony (cd example; $(MAKE) $(MFLAGS) $(MOPTS) $(TARGET))install: src -$(CP) bin/* $(DESTBIN) -$(CP) include/* $(DESTINC) -$(CP) lib/* $(DESTLIB)depend: phony for i in $(DIRS); do (cd $$i; $(MAKE) $(MFLAGS) depend); doneclean: phony for i in $(DIRS); do (cd $$i; $(MAKE) $(MFLAGS) clean); done rm -f bin/cfc bin/cflveryclean: clean rm Makefile src/config.hrcsclean: phony for i in $(DIRS); do (cd $$i; $(CLEAN)); done $(CLEAN)export: phony tar cvf cforms.tar bin lib include `find . -type f ! -name RCS ! -name cforms.uu ! -name cforms.tar -print -o -name RCS -prune` compress cforms.tar uuencode cforms.tar.Z < cforms.tar.Z > cforms.uu rm cforms.tar.Zphony:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -