diff options
Diffstat (limited to 'contrib/delphi/zlib.mak')
-rw-r--r-- | contrib/delphi/zlib.mak | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/contrib/delphi/zlib.mak b/contrib/delphi/zlib.mak new file mode 100644 index 0000000..ba557e2 --- /dev/null +++ b/contrib/delphi/zlib.mak | |||
@@ -0,0 +1,36 @@ | |||
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 | ||