comparison ext/libpng-1.2.29/contrib/pngminim/decoder/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 (pngm2pnm)
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_GZCOMPRESS -DNO_GZIP \
11 -DdeflateParams\(a,b,c\)=Z_OK -I. -O1
12
13 C=.c
14 O=.o
15 L=.a
16 E=
17
18 ZOBJS = adler32$(O) crc32$(O) gzio$(O) \
19 infback$(O) inffast$(O) inflate$(O) inftrees$(O) \
20 trees$(O) uncompr$(O) zutil$(O)
21
22 OBJS = pngm2pnm$(O) png$(O) pngerror$(O) pngget$(O) pngmem$(O) \
23 pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) \
24 pngset$(O) pngtrans$(O) $(ZOBJS)
25
26 # implicit make rules -------------------------------------------------------
27
28 .c$(O): png.h pngconf.h pngusr.h zlib.h
29 $(CC) -c $(CFLAGS) $<
30
31 # dependencies
32
33 all: pngm2pnm$(E)
34
35 pngm2pnm$(E): $(OBJS)
36 $(LD) -o pngm2pnm$(E) $(OBJS)
37 strip pngm2pnm$(E)
38
39 clean:
40 $(RM) pngm2pnm$(O)
41 $(RM) pngm2pnm$(E)
42 $(RM) $(OBJS)
43
44 # End of makefile for pngm2pnm