~baltix/+junk/irrlicht-test

« back to all changes in this revision

Viewing changes to source/Irrlicht/libpng/contrib/pngminim/decoder/makefile

  • Committer: Mantas Kriaučiūnas
  • Date: 2011-07-18 13:06:25 UTC
  • Revision ID: mantas@akl.lt-20110718130625-c5pvifp61e7kj1ol
Included whole irrlicht SVN libraries to work around launchpad recipe issue with quilt, see https://answers.launchpad.net/launchpad/+question/165193

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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) \
 
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 pngpriv.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