]> git.saurik.com Git - wxWidgets.git/blob - src/png/scripts/makefile.atr
The UseAntiAliasing is off by default on wxMac. Add a menu item to
[wxWidgets.git] / src / png / scripts / makefile.atr
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 #
7 CFLAGS=-I..\zlib -O
8 LBR = png.lib
9 LDFLAGS=-lpng -lz -lm
10
11 # where make install puts libpng.a and png.h
12
13 OBJS = $(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
19 all: $(LBR) pngtest.ttp
20
21 $(LBR): $(OBJS)
22
23 pngtest.ttp: pngtest.o $(LBR)
24 $(CC) $(CFLAGS) $(LDFLAGS) -o$@ pngtest.o
25
26 install: 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