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

📄 zlibd32.mak

📁 zlib 内存压缩解压程序。。可以在内存中进行压缩解压、
💻 MAK
字号:
# Makefile for zlib# For use with Delphi and C++ Builder under Win32# Updated for zlib 1.2.x by Cosmin Truta# ------------ Borland C++ ------------# This project uses the Delphi (fastcall/register) calling convention:LOC = -DZEXPORT=__fastcall -DZEXPORTVA=__cdeclCC = bcc32LD = bcc32AR = tlib# do not use "-pr" in CFLAGSCFLAGS = -a -d -k- -O2 $(LOC)LDFLAGS =# variablesZLIB_LIB = zlib.libOBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzio.obj infback.objOBJ2 = inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.objOBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzio.obj+infback.objOBJP2 = +inffast.obj+inflate.obj+inftrees.obj+trees.obj+uncompr.obj+zutil.obj# targetsall: $(ZLIB_LIB) example.exe minigzip.exe.c.obj:	$(CC) -c $(CFLAGS) $*.cadler32.obj: adler32.c zlib.h zconf.hcompress.obj: compress.c zlib.h zconf.hcrc32.obj: crc32.c zlib.h zconf.h crc32.hdeflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.hgzio.obj: gzio.c zutil.h zlib.h zconf.hinfback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ inffast.h inffixed.hinffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ inffast.hinflate.obj: inflate.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ inffast.h inffixed.hinftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.htrees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.huncompr.obj: uncompr.c zlib.h zconf.hzutil.obj: zutil.c zutil.h zlib.h zconf.hexample.obj: example.c zlib.h zconf.hminigzip.obj: minigzip.c zlib.h zconf.h# For the sake of the old Borland make,# the command line is cut to fit in the MS-DOS 128 byte limit:$(ZLIB_LIB): $(OBJ1) $(OBJ2)	-del $(ZLIB_LIB)	$(AR) $(ZLIB_LIB) $(OBJP1)	$(AR) $(ZLIB_LIB) $(OBJP2)# testingtest: example.exe minigzip.exe	example	echo hello world | minigzip | minigzip -dexample.exe: example.obj $(ZLIB_LIB)	$(LD) $(LDFLAGS) example.obj $(ZLIB_LIB)minigzip.exe: minigzip.obj $(ZLIB_LIB)	$(LD) $(LDFLAGS) minigzip.obj $(ZLIB_LIB)# cleanupclean:	-del *.obj	-del *.exe	-del *.lib	-del *.tds	-del zlib.bak	-del foo.gz

⌨️ 快捷键说明

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