~baltix/+junk/irrlicht-test

« back to all changes in this revision

Viewing changes to source/Irrlicht/libpng/contrib/pngminim/encoder/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 (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) \
 
18
         trees$(O) zutil$(O)
 
19
 
 
20
OBJS  = pnm2pngm$(O) png$(O) pngerror$(O) pngget$(O) pngmem$(O) \
 
21
        pngset$(O) pngtrans$(O) pngwio$(O) pngwrite$(O) \
 
22
        pngwtran$(O) pngwutil$(O) $(ZOBJS)
 
23
 
 
24
# implicit make rules -------------------------------------------------------
 
25
 
 
26
.c$(O): png.h pngconf.h pngpriv.h pngusr.h zlib.h
 
27
        $(CC) -c $(CFLAGS) $<
 
28
 
 
29
# dependencies
 
30
 
 
31
all: pnm2pngm$(E)
 
32
 
 
33
pnm2pngm$(E): $(OBJS)
 
34
        $(LD) -o pnm2pngm$(E) $(OBJS)
 
35
        strip pnm2pngm$(E)
 
36
 
 
37
clean:
 
38
        $(RM) pnm2pngm$(O)
 
39
        $(RM) pnm2pngm$(E)
 
40
        $(RM) $(OBJS)
 
41
 
 
42
# End of makefile for pnm2pngm