]> git.saurik.com Git - wxWidgets.git/blob - src/png/scripts/smakefile.ppc
regenerated from template
[wxWidgets.git] / src / png / scripts / smakefile.ppc
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
5 CC = scppc
6 CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL IDIR /zlib \
7 OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8
8 LIBNAME = libpng.a
9 AR = ppc-amigaos-ar
10 AR_FLAGS = cr
11 RANLIB = ppc-amigaos-ranlib
12 LDFLAGS = -r -o
13 LDLIBS = ../zlib/libzip.a LIB:scppc.a
14 LN = ppc-amigaos-ld
15 RM = delete quiet
16 MKDIR = makedir
17
18 OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o pngread.o \
19 pngerror.o pngpread.o pngwrite.o pngrtran.o pngwtran.o pngrio.o pngwio.o pngmem.o
20
21 all: $(LIBNAME) pngtest
22
23 $(LIBNAME): $(OBJS)
24 $(AR) $(AR_FLAGS) $@ $(OBJS)
25 $(RANLIB) $@
26
27 pngtest: pngtest.o $(LIBNAME)
28 $(LN) $(LDFLAGS) pngtest LIB:c_ppc.o pngtest.o $(LIBNAME) $(LDLIBS) \
29 LIB:end.o