]>
Commit | Line | Data |
---|---|---|
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 | ||
11 | include ../make.env | |
12 | ||
13 | TARGETLIB=../../lib/libzlib.a | |
14 | ||
15 | LIB_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 | ||
19 | all: $(TARGETLIB) | |
20 | ||
21 | # Define library objects | |
22 | OBJECTS=\ | |
23 | $(LIB_C_SRC:.c=.o) | |
24 | ||
25 | $(TARGETLIB) : $(OBJECTS) | |
26 | ar $(AROPTIONS) $@ $(OBJECTS) | |
27 | $(RANLIB) $@ | |
28 | ||
29 | clean: | |
30 | rm -f $(OBJECTS) $(TARGETLIB) |