1 # Amiga powerUP (TM) Makefile
2 # makefile for libpng and SAS C V6.58/7.00 PPC compiler
3 # Copyright (C) 1998 by Andreas R. Kleinert
4 # For conditions of distribution and use, see copyright notice in png.h
7 CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL IDIR /zlib \
8 OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8
12 RANLIB = ppc-amigaos-ranlib
14 LDLIBS = ../zlib/libzip.a LIB:scppc.a
19 OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o pngread.o \
20 pngerror.o pngpread.o pngwrite.o pngrtran.o pngwtran.o pngrio.o pngwio.o pngmem.o
22 all: $(LIBNAME) pngtest
25 $(AR) $(AR_FLAGS) $@ $(OBJS)
28 pngtest: pngtest.o $(LIBNAME)
29 $(LN) $(LDFLAGS) pngtest LIB:c_ppc.o pngtest.o $(LIBNAME) $(LDLIBS) \