📄 makefile.bd32
字号:
# Makefile for png32bd.dll# -------------------- 32-bit Borland C++ --------------------# This makefile expects to find zlib.h and zlib32bd.lib in the# $(ZLIBDIR) directory.# The object files here are compiled with the "stdcall" calling convention.# This DLL requires zlib32bd.lib to be compiled in the same way.# Note that png32bd.dll exports the zlib functions adler32, crc32 and# the deflate... and inflate... functions. It does not export the# compress and uncompress functions, nor any of the gz... functions,# since libpng does not call them..AUTODEPENDZLIBDIR=..\zlibZLIB=zlib32bd.libPNGDLL=png32bd.dllPNGLIB=png32bd.libCC=bcc32CFLAGS= -ps -O2 -N- -k- -d -r- -w-par -w-aus -I$(ZLIBDIR) \ -DPNG_NO_GLOBAL_ARRAYS #-DPNG_DEBUG=5#LINK=tlink32#LINK=ilink32LINK=bcc32#LINKFLAGS= -Tpd -aa -cLINKFLAGS= -WDEIMPLIB=implib# Use this if you don't want Borland's fancy exception handlingNOEHLIB=noeh32.lib.c.obj: $(CC) -c $(CFLAGS) $<.c.exe: $(CC) $(CFLAGS) $< $(PNGLIB) $(NOEHLIB)OBJ1=png.obj pngerror.obj pngget.obj pngmem.obj pngpread.objOBJ2=pngread.obj pngrio.obj pngrtran.obj pngrutil.obj pngset.objOBJ3=pngtrans.obj pngwio.obj pngwrite.obj pngwtran.obj pngwutil.objall: $(PNGDLL)test: pngtest.exe pngtest$(PNGDLL): $(OBJ1) $(OBJ2) $(OBJ3) $(ZLIBDIR)\$(ZLIB) $(LINK) @&&|$(LINKFLAGS)-e$(PNGDLL)$(OBJ1)$(OBJ2)$(OBJ3)$(ZLIBDIR)\$(ZLIB)$(NOEHLIB)| $(IMPLIB) -c $(@R).lib $@# Clean up anything else you wantclean: -del *.obj -del *.dll -del *.exe -del *.lib -del *.lst -del *.map -del *.tds# End of makefile for png32bd.dll
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -