]> git.saurik.com Git - wxWidgets.git/blame - src/png/scripts/smakefile.ppc
Applied patch [ 638561 ] Allow SetFont(wxNullFont) in wxGTK
[wxWidgets.git] / src / png / scripts / smakefile.ppc
CommitLineData
c801d85f
KB
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
9dfaa473 4# For conditions of distribution and use, see copyright notice in png.h
c801d85f
KB
5
6CC = scppc
7CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL IDIR /zlib \
8 OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8
9LIBNAME = libpng.a
10AR = ppc-amigaos-ar
11AR_FLAGS = cr
12RANLIB = ppc-amigaos-ranlib
13LDFLAGS = -r -o
14LDLIBS = ../zlib/libzip.a LIB:scppc.a
15LN = ppc-amigaos-ld
16RM = delete quiet
17MKDIR = makedir
18
19OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o pngread.o \
20pngerror.o pngpread.o pngwrite.o pngrtran.o pngwtran.o pngrio.o pngwio.o pngmem.o
21
22all: $(LIBNAME) pngtest
23
24$(LIBNAME): $(OBJS)
25 $(AR) $(AR_FLAGS) $@ $(OBJS)
26 $(RANLIB) $@
27
28pngtest: pngtest.o $(LIBNAME)
29 $(LN) $(LDFLAGS) pngtest LIB:c_ppc.o pngtest.o $(LIBNAME) $(LDLIBS) \
30LIB:end.o