home *** CD-ROM | disk | FTP | other *** search
/ Freelog 11 / Freelog011.iso / Bas / Compression / ZLib / contrib / delphi / zlib.mak next >
Makefile  |  1998-04-11  |  1KB  |  37 lines

  1. # Makefile for zlib32bd.lib
  2. # ------------- Borland C++ 4.5 -------------
  3.  
  4. # The (32-bit) zlib32bd.lib made with this makefile is intended for use 
  5. # in making the (32-bit) DLL, png32bd.dll. It uses the "stdcall" calling 
  6. # convention.
  7.  
  8. CFLAGS= -ps -O2 -C -K -N- -k- -d -3 -r- -w-par -w-aus -WDE
  9. CC=f:\bc45\bin\bcc32
  10. LIBFLAGS= /C
  11. LIB=f:\bc45\bin\tlib
  12. ZLIB=zlib32bd.lib
  13.  
  14. .autodepend
  15. .c.obj:
  16.         $(CC) -c $(CFLAGS) $<
  17.  
  18. OBJ1=adler32.obj compress.obj crc32.obj deflate.obj gzio.obj infblock.obj 
  19. OBJ2=infcodes.obj inflate.obj inftrees.obj infutil.obj inffast.obj 
  20. OBJ3=trees.obj uncompr.obj zutil.obj
  21. pOBJ1=+adler32.obj+compress.obj+crc32.obj+deflate.obj+gzio.obj+infblock.obj 
  22. pOBJ2=+infcodes.obj+inflate.obj+inftrees.obj+infutil.obj+inffast.obj 
  23. pOBJ3=+trees.obj+uncompr.obj+zutil.obj
  24.  
  25. all: $(ZLIB)
  26.  
  27. $(ZLIB): $(OBJ1) $(OBJ2) $(OBJ3)
  28.         @if exist $@ del $@
  29.         $(LIB) @&&|
  30. $@ $(LIBFLAGS) &
  31. $(pOBJ1) &
  32. $(pOBJ2) &
  33. $(pOBJ3)
  34. |
  35.  
  36. # End of makefile for zlib32bd.lib
  37.