📄 makefile.tc
字号:
#-----------------------------------------------------------------------------# Makefile for UnZip 5.11 and later Jean-loup Gailly# Version: Turbo C (edit and use makefile.bc for Turbo C++) 10 July 1994#-----------------------------------------------------------------------------# GNU make doesn't like the return value from "rem"#STRIP=remSTRIP=echo Ignore this line. # If you don't have LZEXE or PKLITE, get one of them. Then define:#STRIP=lzexe# or#STRIP=pklite# This makes a big difference in .exe size (and possibly load time).# memory model for UnZip (conflicting reports on whether Turbo C can or# cannot put strings into far memory; for now assume it can and use small# model *with* ZipInfo enabled...if fails, either define NO_ZIPINFO or# use large model) [GRR 940712: sigh, no go--inflate fails. Back to# large model...]#MODEL = sMODEL = lCC = tccLD = $(CC)UCFLAGS = -m$(MODEL) -O -Z -I. -DFar=ULDFLAGS = -m$(MODEL)# funzip is always small-modelFCFLAGS = -ms -O -Z -I.FLDFLAGS = -msLDFLAGS2 =OBJS = unzip.obj crypt.obj envargs.obj explode.obj extract.obj file_io.obj \ inflate.obj match.obj unreduce.obj unshrink.obj zipinfo.obj msdos.objOBJX = unzip_.obj crypt.obj extract_.obj file_io.obj inflate.obj match.obj \ msdos_.objOBJF = funzip.obj crypt_.obj inflate_.objdefault: unzip.exe funzip.exe unzipsfx.execlean: rem Ignore any errors in the following... del *.ob del *.obj del unzip.exe del funzip.exe.c.obj: $(CC) -c $(UCFLAGS) $*.ccrypt.obj: crypt.c unzip.h crypt.h zip.hcrypt_.obj: crypt.c unzip.h crypt.h zip.h $(CC) -c $(FCFLAGS) -DFUNZIP -ocrypt_.obj crypt.cenvargs.obj: envargs.c unzip.hexplode.obj: explode.c unzip.hextract.obj: extract.c unzip.h crypt.hextract_.obj: extract.c unzip.h crypt.h $(CC) -c $(UCFLAGS) -DSFX -oextract_.obj extract.cfile_io.obj: file_io.c unzip.h crypt.h tables.hfunzip.obj: funzip.c unzip.h crypt.h tables.h $(CC) -c $(FCFLAGS) funzip.cinflate_.obj: inflate.c inflate.h unzip.h crypt.h $(CC) -c $(FCFLAGS) -DFUNZIP -oinflate_.obj inflate.cinflate.obj: inflate.c inflate.h unzip.hmatch.obj: match.c unzip.hmsdos.obj: msdos/msdos.c unzip.h $(CC) -c $(UCFLAGS) msdos/msdos.cmsdos_.obj: msdos/msdos.c unzip.h $(CC) -c $(UCFLAGS) -DSFX -omsdos_.obj msdos/msdos.cunreduce.obj: unreduce.c unzip.hunshrink.obj: unshrink.c unzip.hunzip.obj: unzip.c unzip.h crypt.h version.hunzip_.obj: unzip.c unzip.h crypt.h version.h $(CC) -c $(UCFLAGS) -DSFX -ounzip_.obj unzip.czipinfo.obj: zipinfo.c unzip.h# Turbo Make which cannot deal with the MS-DOS 128 byte limit:# -----------------------------------------------------------unzip.exe: $(OBJS) rem Ignore any warnings in the following commands: del funzip.ob ren funzip.obj *.ob del crypt_.ob ren crypt_.obj *.ob del inflate_.ob ren inflate_.obj *.ob $(LD) $(ULDFLAGS) -eunzip.exe *.obj ren *.ob *.obj $(STRIP) unzip.exe# better makes which know how to deal with 128 char limit on command line:# -----------------------------------------------------------------------#unzip.exe: $(OBJS)# $(LD) $(ULDFLAGS) $(OBJS) $(LDFLAGS2)# $(STRIP) unzip.exe# both makes:# ----------funzip.exe: $(OBJF) $(LD) $(FLDFLAGS) $(OBJF) $(LDFLAGS2) $(STRIP) funzip.exeunzipsfx.exe: $(OBJX) $(LD) $(ULDFLAGS) $(OBJX) $(LDFLAGS2) rename unzip_.exe unzipsfx.exe $(STRIP) unzipsfx.exe
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -