📄 makefile.vms
字号:
#============================================================================# Makefile for VMS Zip, ZipCloak, ZipNote and ZipSplit Greg Roelofs# Version: 1.8f [for use with Todd Aven's MAKE/VMS 3.4] 25 June 1992#============================================================================# Most recent revisions: 25 June 1992###################### MACRO DEFINITIONS ######################CRYPTO =CLOAK =CFLAGS =UFLAGS = /def=UTIL# Uncomment next three lines for decryption version:#CRYPTO = crypt.obj,#CLOAK = zipcloak.exe#CFLAGS = /def=CRYPT#UFLAGS = /def=(UTIL,CRYPT)CC = ccLIB =# Uncomment next two lines to use the GNU compiler (also add /undef=__STDC__# to CFLAGS and UFLAGS, possibly split UFLAGS into two /def's, and possibly# replace /obj=$@ [below] with copy/rename/delete setup). NOT TESTED.#CC = gcc#LIB = gnu_cc:[000000]gcclib.olb/lib,E = .exeO = .objLD = linkLDFLAGS =ZIPS = zip$E zipnote$E zipsplit$E $(CLOAK)# object file listsOBJZ = zip$O, zipfile$O, zipup$O, fileio$O, $(CRYPTO) util$O,- globals$O, VMSmunch$O, vms$OOBJI = deflate$O, trees$O, bits$OOBJN = zipnote$O, zipfile_$O, zipup_$O, fileio_$O, util_$O,- globals$O, VMSmunch$OOBJS = zipsplit$O, zipfile_$O, zipup_$O, fileio_$O, util_$O,- globals$O, VMSmunch$OOBJC = zipcloak$O, zipfile_$O, zipup_$O, fileio_$O, util$O,- globals$O, VMSmunch$O, crypt_$O################################################ BASIC COMPILE INSTRUCTIONS AND DEPENDENCIES ################################################default: $(ZIPS)# suffix rules*.obj: *.c # `*.c' necessary? $(CC) $(CFLAGS) $<*_.obj: *.c # `$*' not legal $(CC) $(UFLAGS) /obj=$@ $<# executables makerules (trailing `$' makes line a data line)zip$E: $(OBJZ), $(OBJI) $(LD) $(LDFLAGS) $(OBJZ), $(OBJI), $(LIB) sys$input/opt sys$share:vaxcrtl.exe/shareable $zipnote$E: $(OBJN) $(LD) $(LDFLAGS) $(OBJN), $(LIB) sys$input/opt sys$share:vaxcrtl.exe/shareable $zipcloak$E: $(OBJC) $(LD) $(LDFLAGS) $(OBJC), $(LIB) sys$input/opt sys$share:vaxcrtl.exe/shareable $zipsplit$E: $(OBJS) $(LD) $(LDFLAGS) $(OBJS), $(LIB) sys$input/opt sys$share:vaxcrtl.exe/shareable $# dependencies for zip, zipnote, zipcloak, and zipsplit$(OBJZ): zip.h ziperr.h tailor.h$(OBJI): zip.h ziperr.h tailor.h$(OBJN): zip.h ziperr.h tailor.h$(OBJS): zip.h ziperr.h tailor.h$(OBJC): zip.h ziperr.h tailor.hfileio$O: VMSmunch.hvms$O: vms.c zip.hVMSmunch$O: VMSmunch.c VMSmunch.hzip$O: revision.hzipcloak$O: revision.hzipfile$O: VMSmunch.hzipnote$O: revision.hzipsplit$O: revision.hzipup$O: revision.hclean: del *.obj;* del *.exe;* # use "purge/log" instead?# the backslash '\' is the continuation character if it occurs as# the last non-white character on the line.# the hyphen '-' is the DCL continuation character, so if it occurs# as the last non-white character on the line, the next line will# not have the dollar sign '$' prepended.################################# INDIVIDUAL MACHINE MAKERULES #################################generic: default # first try if unknowngeneric2: default # second try if unknownvax: defaultvms: defaultall: $(ZIPS)zip: zip$Ezipcloak: zipcloak$Ezipnote: zipnote$Ezipsplit: zipsplit$E
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -