]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/zlib/makefile.unx
wxUniv compilation fix
[wxWidgets.git] / src / zlib / makefile.unx
... / ...
CommitLineData
1#
2# File: makefile.unx
3# Author: Julian Smart
4# Created: 1998
5# Updated:
6# Copyright: (c) 1998
7#
8#
9# Makefile for PNG library, Unix
10
11include ../make.env
12
13TARGETLIB=../../lib/libzlib.a
14
15LIB_C_SRC = adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c \
16 trees.c zutil.c inflate.c infblock.c inftrees.c infcodes.c \
17 infutil.c inffast.c
18
19all: $(TARGETLIB)
20
21# Define library objects
22OBJECTS=\
23 $(LIB_C_SRC:.c=.o)
24
25$(TARGETLIB) : $(OBJECTS)
26 ar $(AROPTIONS) $@ $(OBJECTS)
27 $(RANLIB) $@
28
29clean:
30 rm -f $(OBJECTS) $(TARGETLIB)