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

📄 makefile.bor

📁 Linux下的基于X11的图形开发环境。
💻 BOR
字号:
# Makefile for zlib# Borland C++   ************ UNTESTED ***********# To use, do "make -fmakefile.bor"# To compile in small model, set below: MODEL=s# WARNING: the small model is supported but only for small values of# MAX_WBITS and MAX_MEM_LEVEL. For example:#    -DMAX_WBITS=11 -DDEF_WBITS=11 -DMAX_MEM_LEVEL=3# If you wish to reduce the memory requirements (default 256K for big# objects plus a few K), you can add to the LOC macro below:#   -DMAX_MEM_LEVEL=7 -DMAX_WBITS=14# See zconf.h for details about the memory requirements.# ------------- Turbo C++, Borland C++ -------------#    Optional nonstandard preprocessor flags (e.g. -DMAX_MEM_LEVEL=7)#    should be added to the environment via "set LOCAL_ZLIB=-DFOO" or added#    to the declaration of LOC here:LOC = $(LOCAL_ZLIB)# Type for CPU required: 0: 8086, 1: 80186, 2: 80286, 3: 80386, etc.CPU_TYP = 0# Memory model: one of s, m, c, l (small, medium, compact, large)MODEL=lCC=bcc#   replace bcc with tcc for Turbo C++ 1.0, with bcc32 for the 32 bit versionLD=$(CC)AR=tlib# compiler flagsCFLAGS=-O2 -Z -m$(MODEL) $(LOC)#   replace "-O2" by "-O -G -a -d" for Turbo C++ 1.0LDFLAGS=-m$(MODEL)O=.obj# variablesOBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \  trees$(O)OBJP1 = adler32$(O)+compress$(O)+crc32$(O)+gzio$(O)+uncompr$(O)+deflate$(O)+\  trees$(O)OBJ2 = zutil$(O) inflate$(O) infblock$(O) inftrees$(O) infcodes$(O) \  infutil$(O) inffast$(O)OBJP2 = zutil$(O)+inflate$(O)+infblock$(O)+inftrees$(O)+infcodes$(O)+\  infutil$(O)+inffast$(O)ZLIB_H = zlib.h zconf.hZUTIL_H = zutil.h $(ZLIB_H)ZLIB_LIB = zlib_$(MODEL).liball: test# individual dependencies and action rules:adler32.obj: adler32.c $(ZLIB_H)	$(CC) -c $(CFLAGS) $*.ccompress.obj: compress.c $(ZLIB_H)	$(CC) -c $(CFLAGS) $*.ccrc32.obj: crc32.c $(ZLIB_H)	$(CC) -c $(CFLAGS) $*.cdeflate.obj: deflate.c deflate.h $(ZUTIL_H)	$(CC) -c $(CFLAGS) $*.cgzio.obj: gzio.c $(ZUTIL_H)	$(CC) -c $(CFLAGS) $*.cinfblock.obj: infblock.c $(ZUTIL_H) infblock.h inftrees.h infcodes.h infutil.h	$(CC) -c $(CFLAGS) $*.cinfcodes.obj: infcodes.c $(ZUTIL_H) inftrees.h infutil.h infcodes.h inffast.h	$(CC) -c $(CFLAGS) $*.cinflate.obj: inflate.c $(ZUTIL_H) infblock.h	$(CC) -c $(CFLAGS) $*.cinftrees.obj: inftrees.c $(ZUTIL_H) inftrees.h	$(CC) -c $(CFLAGS) $*.cinfutil.obj: infutil.c $(ZUTIL_H) inftrees.h infutil.h	$(CC) -c $(CFLAGS) $*.cinffast.obj: inffast.c $(ZUTIL_H) inftrees.h infutil.h inffast.h	$(CC) -c $(CFLAGS) $*.ctrees.obj: trees.c deflate.h $(ZUTIL_H)	$(CC) -c $(CFLAGS) $*.cuncompr.obj: uncompr.c $(ZLIB_H)	$(CC) -c $(CFLAGS) $*.czutil.obj: zutil.c $(ZUTIL_H)	$(CC) -c $(CFLAGS) $*.cexample.obj: example.c $(ZLIB_H)	$(CC) -c $(CFLAGS) $*.cminigzip.obj: minigzip.c $(ZLIB_H)	$(CC) -c $(CFLAGS) $*.c# we must cut the command line to fit in the MS/DOS 128 byte limit:$(ZLIB_LIB): $(OBJ1) $(OBJ2)	del $(ZLIB_LIB)	$(AR) $(ZLIB_LIB) +$(OBJP1)	$(AR) $(ZLIB_LIB) +$(OBJP2)example.exe: example.obj $(ZLIB_LIB)	$(LD) $(LDFLAGS) example.obj $(ZLIB_LIB)minigzip.exe: minigzip.obj $(ZLIB_LIB)	$(LD) $(LDFLAGS) minigzip.obj $(ZLIB_LIB)test: example.exe minigzip.exe	example	echo hello world | minigzip | minigzip -d #clean:#	del *.obj#	del *.exe

⌨️ 快捷键说明

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