]> git.saurik.com Git - wxWidgets.git/blame - src/png/scripts/makefile.dj2
supporting events also for root control (needed for event handling of mouse and paint...
[wxWidgets.git] / src / png / scripts / makefile.dj2
CommitLineData
c801d85f 1# DJGPP (DOS gcc) makefile for libpng
9dfaa473 2# Copyright (C) 2002 Glenn Randers-Pehrson
c801d85f
KB
3# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
4# For conditions of distribution and use, see copyright notice in png.h
5
9dfaa473
GD
6# where make install will put libpng.a and png.h
7#prefix=/usr/local
8prefix=.
9INCPATH=$(prefix)/include
10LIBPATH=$(prefix)/lib
11
c801d85f
KB
12CC=gcc
13CFLAGS=-I../zlib -O
14LDFLAGS=-L. -L../zlib/ -lpng -lz -lm
15
16RANLIB=ranlib
17
c801d85f
KB
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