summaryrefslogtreecommitdiff
path: root/Build/source/libs/zlib/zlib-1.2.3/contrib/delphi/zlib.mak
blob: ba557e2b9772c764ca04ecbc368932b4f64336dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Makefile for zlib32bd.lib
# ------------- Borland C++ 4.5 -------------

# The (32-bit) zlib32bd.lib made with this makefile is intended for use 
# in making the (32-bit) DLL, png32bd.dll. It uses the "stdcall" calling 
# convention.

CFLAGS= -ps -O2 -C -K -N- -k- -d -3 -r- -w-par -w-aus -WDE
CC=f:\bc45\bin\bcc32
LIBFLAGS= /C
LIB=f:\bc45\bin\tlib
ZLIB=zlib32bd.lib

.autodepend
.c.obj:
        $(CC) -c $(CFLAGS) $<

OBJ1=adler32.obj compress.obj crc32.obj deflate.obj gzio.obj infblock.obj 
OBJ2=infcodes.obj inflate.obj inftrees.obj infutil.obj inffast.obj 
OBJ3=trees.obj uncompr.obj zutil.obj
pOBJ1=+adler32.obj+compress.obj+crc32.obj+deflate.obj+gzio.obj+infblock.obj 
pOBJ2=+infcodes.obj+inflate.obj+inftrees.obj+infutil.obj+inffast.obj 
pOBJ3=+trees.obj+uncompr.obj+zutil.obj

all: $(ZLIB)

$(ZLIB): $(OBJ1) $(OBJ2) $(OBJ3)
        @if exist $@ del $@
        $(LIB) @&&|
$@ $(LIBFLAGS) &
$(pOBJ1) &
$(pOBJ2) &
$(pOBJ3)
|

# End of makefile for zlib32bd.lib