makefile.dj2

来自「infozip2.2源码」· DJ2 代码 · 共 132 行

DJ2
132
字号
# Makefile for Zip, ZipCloak, ZipNote and ZipSplit for# djgpp 2.xVPATH=.;msdos# ------------- djgpp -------------CPPFLAGS=-I. -DDOS -DASM_CRC $(LOCAL_ZIP)ASFLAGS=$(CPPFLAGS)CFLAGS=-Wall -O2 -m486 $(CPPFLAGS)UTILFLAGS=-c -DUTIL $(CFLAGS) -oCC=gccLD=gccLDFLAGS=-s# ------------- file packer --------# If djp.exe is in your PATH, (found in mlp105b.zip, or later, at the same# place you found DJGPP), you may reduce the size of the disk image of the# zip*.exe's by uncommenting the lines containing DJP below where the exe's# are built.DJP=djp -q# variables#set CRC32 to crc_gcc.o or crc32.o, depending on whether ASM_CRC is defined:CRC32 = crc_gcc.oOBJZ = zip.o crypt.o ttyio.o zipfile.o zipup.o fileio.o util.o \	$(CRC32) crctab.o globals.oOBJI = deflate.o trees.o bits.o match.o msdos.oOBJU = zipfile_.o fileio_.o util_.o globals.o msdos_.oOBJN = zipnote.o $(OBJU)OBJC = zipcloak.o crctab.o crypt_.o ttyio.o $(OBJU)OBJS = zipsplit.o $(OBJU)ZIP_H = zip.h ziperr.h tailor.h msdos/osdep.h# rules.SUFFIXES:    # Delete make's default suffix list.SUFFIXES:    .exe .out .a .ln .o .c .cc .C .p .f .F .y .l .s .S .h.c.o:	$(CC) -c $(CFLAGS) $< -o $@zips:	zip.exe zipnote.exe zipsplit.exe zipcloak.exezip.o:	      zip.c $(ZIP_H) revision.h crypt.h ttyio.hzipfile.o:    zipfile.c $(ZIP_H)zipup.o:      zipup.c $(ZIP_H) revision.h crypt.h msdos/zipup.hfileio.o:     fileio.c $(ZIP_H)util.o:       util.c $(ZIP_H)globals.o:    globals.c $(ZIP_H)deflate.o:    deflate.c $(ZIP_H)trees.o:      trees.c $(ZIP_H)bits.o:       bits.c $(ZIP_H) crypt.hcrc_gcc.o:    crc_i386.S	$(CC) $(ASFLAGS) -x assembler-with-cpp -c -o $@ crc_i386.Scrc32.o:      crc32.c $(ZIP_H)crctab.o:     crctab.c $(ZIP_H)crypt.o:      crypt.c $(ZIP_H) crypt.h ttyio.httyio.o:      ttyio.c $(ZIP_H) crypt.h ttyio.hmsdos.o:      msdos/msdos.c $(ZIP_H)zipcloak.o:   zipcloak.c $(ZIP_H) revision.h crypt.h ttyio.hzipnote.o:    zipnote.c $(ZIP_H) revision.hzipsplit.o:   zipsplit.c $(ZIP_H) revision.hzipfile_.o:   zipfile.c $(ZIP_H)	$(CC) $(UTILFLAGS) $@ zipfile.cfileio_.o:    fileio.c $(ZIP_H)	$(CC) $(UTILFLAGS) $@ fileio.cutil_.o:      util.c $(ZIP_H)	$(CC) $(UTILFLAGS) $@ util.ccrypt_.o:     crypt.c $(ZIP_H) crypt.h ttyio.h	$(CC) $(UTILFLAGS) $@ crypt.cmsdos_.o:     msdos/msdos.c $(ZIP_H)	$(CC) $(UTILFLAGS) $@ msdos/msdos.cmatch.o:      match.S	$(CC) $(ASFLAGS) -x assembler-with-cpp -c -o $@ match.Szip.exe: $(OBJZ) $(OBJI)	echo $(OBJZ) > zip.rsp	echo $(OBJI) >> zip.rsp	$(LD) $(LDFLAGS) -o $@ @zip.rsp	del zip.rsp#	stubedit $@ dpmi=cwsdpmi.exe#	$(DJP) $@zipcloak.exe: $(OBJC)	$(LD) $(LDFLAGS) $(OBJC) -o $@#	stubedit $@ dpmi=cwsdpmi.exe#	$(DJP) $@zipnote.exe: $(OBJN)	$(LD) $(LDFLAGS) $(OBJN) -o $@#	stubedit $@ dpmi=cwsdpmi.exe#	$(DJP) $@zipsplit.exe: $(OBJS)	$(LD) $(LDFLAGS) $(OBJS) -o $@#	stubedit $@ dpmi=cwsdpmi.exe#	$(DJP) $@# These stand alone executables require dpmi services to run.  When# running in a DOS window under windows 3.1 or later, the dpmi server# is automatically present.  Under DOS, if a dpmi server is not installed,# by default the program will look for "cwsdpmi.exe." If found, it will# be loaded for the duration of the program.# cwsdpmi is a "free" dpmi server written by Charles W. Sandmann# (sandman@clio.rice.edu).  It may be found, among other sites, on SimTel# and its mirrors in the .../vendors/djgpp/v2misc directory.

⌨️ 快捷键说明

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