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

📄 makefile.vms

📁 生成C++的词法/语法分析的Flex语法分析器
💻 VMS
字号:
############################ VMS MAKEFILE ###############################IMPORTANT:  Before you use this makefile fill in the contents of GNULIB.## Define tools$$exe, tools$$library, and tools$$manual to reflect the # locations where you would like to store the executables, library (flex.skel)# and the manual pages.  These names can be defined at the command line# prompt:  eg.#    $ define tools$$exe disk:[dir1.dir2.etc]#   # Once these names have been defined the following commands# can be executed at the command line:##   $ mms install#   $ mms test#   $ mms clean## When "mms test" is executed the diff should not show any differences. In fact# the same effect can be achieved by##   $ mms install, test, clean##  The filename of the the mms description file, i.e., this file,#  should either be "makefile." or "decrip.mms"## VMS make file for "flex" tool# Redefine the following for your own environmentBIN = tools$$exeLIB = tools$$libraryMAN = tools$$manualGNULIB = <******directory where you keep alloca.obj and bcopy.obj***>SKELETON_FILE = "DEFAULT_SKELETON_FILE=""$(LIB):FLEX.SKEL"""CCFLAGS = VMS,USGFLEX_FLAGS = -isFLEXOBJS = ccl.obj dfa.obj ecs.obj gen.obj main.obj misc.obj nfa.obj  -           parse.obj scan.obj sym.obj tblcmp.obj yylex.obj OBJ = ccl.obj,dfa.obj,ecs.obj,gen.obj,main.obj,misc.obj,nfa.obj,parse.obj, -      scan.obj,sym.obj,tblcmp.obj,yylex.objdefault : flex	! installed FLEXinstall : lib man bin 	!Installed FLEX and LIBRARIESlib : $(LIB):flex.skel	! Installed $(LIB):flex.skelbin : $(BIN):flex.exe	flex :== $ $(BIN):flex.exeman : $(MAN):flex.doc	! installed $(MAN):flex.doc$(LIB):flex.skel : flex.skel	copy flex.skel $(LIB):flex.skel$(BIN):flex.exe : flex.exe	copy flex.exe $(BIN):flex.exe$(MAN):flex.doc : flex.1	copy flex.1 $(MAN):flex.docflex : flex.exe	copy flex.exe $(BIN):flex.exeflex.exe : $(FLEXOBJS)	link /exe=flex.exe -		$(OBJ),  -		$(GNULIB)alloca.obj,  -		$(GNULIB)bcopy.objparse.c : parse.y	bison/defines/verbose/fixed_outfiles parse.y	copy y_tab.c parse.c	del/noconfirm y_tab.c;*parse.h : parse.c	copy y_tab.h parse.h	del/noconfirm y_tab.h;*scan.c : initscan.c	copy initscan.c scan.cccl.obj : ccl.c flexdef.h	cc /define=($(CCFLAGS)) ccl.cdfa.obj : dfa.c flexdef.h	cc /define=($(CCFLAGS)) dfa.cecs.obj : ecs.c flexdef.h	cc /define=($(CCFLAGS)) ecs.cgen.obj : gen.c flexdef.h	cc /define=($(CCFLAGS)) gen.cmain.obj : main.c flexdef.h	cc /define=($(CCFLAGS),$(SKELETON_FILE)) main.cmisc.obj : misc.c flexdef.h	cc /define=($(CCFLAGS)) misc.cnfa.obj : nfa.c flexdef.h	cc /define=($(CCFLAGS)) nfa.cparse.obj : parse.c flexdef.h parse.h	cc /define=($(CCFLAGS)) parse.cscan.obj : scan.c parse.h flexdef.h	cc /define=($(CCFLAGS)) scan.csym.obj : sym.c flexdef.h	cc /define=($(CCFLAGS)) sym.ctblcmp.obj : tblcmp.c flexdef.h	cc /define=($(CCFLAGS)) tblcmp.cyylex.obj : yylex.c parse.h flexdef.h	cc /define=($(CCFLAGS)) yylex.cclean :	! Cleaning up by deleting unnecessary object files etc.	- delete/noconfirm scan.c;*	- delete/noconfirm parse.c;*	- delete/noconfirm parse.h;*	- delete/noconfirm lexyy.c;*	- delete/noconfirm *.obj;*	- delete/noconfirm flex*.tmp;*	- delete/noconfirm y.output;*	- delete/noconfirm *.diff;*	- delete/noconfirm y_tab.*;*	- purge/logtest :  $(BIN):flex.exe	flex :== $ $(BIN):flex.exe	define tools$$library 'f$environment("default")'	sho log tool$$library	flex $(FLEX_FLAGS) scan.l	diff/out=flex.diff initscan.c lexyy.c	type/page flex.diff

⌨️ 快捷键说明

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