]> git.saurik.com Git - wxWidgets.git/blame - src/png/scripts/makefile.atr
don't export private symbols
[wxWidgets.git] / src / png / scripts / makefile.atr
CommitLineData
c801d85f
KB
1# makefile for libpng
2# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
3# For conditions of distribution and use, see copyright notice in png.h
4# modified for LC56/ATARI assumes libz.lib is in same dir and uses default
5# rules for library management
6#
7CFLAGS=-I..\zlib -O
8LBR = png.lib
9LDFLAGS=-lpng -lz -lm
10
11# where make install puts libpng.a and png.h
12
13OBJS = $(LBR)(png.o) $(LBR)(pngset.o) $(LBR)(pngget.o) $(LBR)(pngrutil.o)\
14 $(LBR)(pngtrans.o) $(LBR)(pngwutil.o)\
15 $(LBR)(pngread.o) $(LBR)(pngerror.o) $(LBR)(pngwrite.o)\
16 $(LBR)(pngrtran.o) $(LBR)(pngwtran.o)\
17 $(LBR)(pngmem.o) $(LBR)(pngrio.o) $(LBR)(pngwio.o) $(LBR)(pngpread.o)
18
19all: $(LBR) pngtest.ttp
20
21$(LBR): $(OBJS)
22
23pngtest.ttp: pngtest.o $(LBR)
24 $(CC) $(CFLAGS) $(LDFLAGS) -o$@ pngtest.o
25
26install: libpng.a
27 -@mkdir $(prefix)/include
28 -@mkdir $(prefix)/lib
29 cp png.h $(prefix)/include
30 cp pngconf.h $(prefix)/include
31 chmod 644 $(prefix)/include/p