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