]> git.saurik.com Git - wxWidgets.git/blame - src/png/scripts/makefile.dj2
forward SetColPos() to the header window
[wxWidgets.git] / src / png / scripts / makefile.dj2
CommitLineData
0272a10d
VZ
1# DJGPP (DOS gcc) makefile for libpng
2# Copyright (C) 2002 Glenn Randers-Pehrson
3# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
4# For conditions of distribution and use, see copyright notice in png.h
5
6# where make install will put libpng.a and png.h
7#prefix=/usr/local
8prefix=.
9INCPATH=$(prefix)/include
10LIBPATH=$(prefix)/lib
11
12CC=gcc
13CFLAGS=-I../zlib -O
14LDFLAGS=-L. -L../zlib/ -lpng -lz -lm
15
16RANLIB=ranlib
17
18OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
19 pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o pngwtran.o \
20 pngmem.o pngerror.o pngpread.o
21
22all: libpng.a pngtest
23
24libpng.a: $(OBJS)
25 ar rc $@ $(OBJS)
26 $(RANLIB) $@
27
28pngtest: pngtest.o libpng.a
29 $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)
30 coff2exe pngtest
31
32test: pngtest
33 ./pngtest
34clean:
35 rm -f *.o libpng.a pngtest pngout.png
36
37# DO NOT DELETE THIS LINE -- make depend depends on it.
38
39png.o: png.h pngconf.h
40pngerror.o: png.h pngconf.h
41pngrio.o: png.h pngconf.h
42pngwio.o: png.h pngconf.h
43pngmem.o: png.h pngconf.h
44pngset.o: png.h pngconf.h
45pngget.o: png.h pngconf.h
46pngread.o: png.h pngconf.h
47pngpread.o: png.h pngconf.h
48pngrtran.o: png.h pngconf.h
49pngrutil.o: png.h pngconf.h
50pngtest.o: png.h pngconf.h
51pngtrans.o: png.h pngconf.h
52pngwrite.o: png.h pngconf.h
53pngwtran.o: png.h pngconf.h
54pngwutil.o: png.h pngconf.h
55