Mercurial > fife-parpg
comparison ext/libpng-1.2.29/contrib/pngminim/encoder/makefile.std @ 0:4a0efb7baf70
* Datasets becomes the new trunk and retires after that :-)
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 29 Jun 2008 18:44:17 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4a0efb7baf70 |
---|---|
1 # Makefile for PngMinus (pnm2pngm) | |
2 # Linux / Unix | |
3 | |
4 #CC=cc | |
5 CC=gcc | |
6 LD=$(CC) | |
7 | |
8 RM=rm -f | |
9 | |
10 CFLAGS=-DPNG_USER_CONFIG -DNO_GZIP -I. -O1 | |
11 | |
12 C=.c | |
13 O=.o | |
14 L=.a | |
15 E= | |
16 | |
17 ZOBJS = adler32$(O) compress$(O) crc32$(O) deflate$(O) gzio$(O) \ | |
18 dummy_inflate$(O) \ | |
19 trees$(O) uncompr$(O) zutil$(O) | |
20 | |
21 OBJS = pnm2pngm$(O) png$(O) pngerror$(O) pngget$(O) pngmem$(O) \ | |
22 pngset$(O) pngtrans$(O) pngwio$(O) pngwrite$(O) \ | |
23 pngwtran$(O) pngwutil$(O) $(ZOBJS) | |
24 | |
25 # implicit make rules ------------------------------------------------------- | |
26 | |
27 .c$(O): png.h pngconf.h pngusr.h zlib.h | |
28 $(CC) -c $(CFLAGS) $< | |
29 | |
30 # dependencies | |
31 | |
32 all: pnm2pngm$(E) | |
33 | |
34 pnm2pngm$(E): $(OBJS) | |
35 $(LD) -o pnm2pngm$(E) $(OBJS) | |
36 strip pnm2pngm$(E) | |
37 | |
38 clean: | |
39 $(RM) pnm2pngm$(O) | |
40 $(RM) pnm2pngm$(E) | |
41 $(RM) $(OBJS) | |
42 | |
43 # End of makefile for pnm2pngm |