~baltix/+junk/irrlicht-test

« back to all changes in this revision

Viewing changes to source/Irrlicht/libpng/scripts/smakefile.ppc

  • Committer: Mantas Kriaučiūnas
  • Date: 2011-07-18 13:06:25 UTC
  • Revision ID: mantas@akl.lt-20110718130625-c5pvifp61e7kj1ol
Included whole irrlicht SVN libraries to work around launchpad recipe issue with quilt, see https://answers.launchpad.net/launchpad/+question/165193

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
# This code is released under the libpng license.
 
6
# For conditions of distribution and use, see the disclaimer
 
7
# and license in png.h
 
8
 
 
9
CC       = scppc
 
10
CFLAGS   = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL IDIR /zlib \
 
11
           OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8
 
12
LIBNAME  = libpng.a
 
13
AR       = ppc-amigaos-ar
 
14
AR_FLAGS = cr
 
15
RANLIB   = ppc-amigaos-ranlib
 
16
LDFLAGS  = -r -o
 
17
LDLIBS   =  ../zlib/libzip.a LIB:scppc.a
 
18
LN       = ppc-amigaos-ld
 
19
RM       = delete quiet
 
20
MKDIR    = makedir
 
21
 
 
22
OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o pngread.o \
 
23
pngerror.o pngpread.o pngwrite.o pngrtran.o pngwtran.o pngrio.o pngwio.o pngmem.o
 
24
 
 
25
all: $(LIBNAME) pngtest
 
26
 
 
27
$(LIBNAME): $(OBJS)
 
28
            $(AR) $(AR_FLAGS) $@ $(OBJS)
 
29
            $(RANLIB) $@
 
30
 
 
31
pngtest: pngtest.o $(LIBNAME)
 
32
        $(LN) $(LDFLAGS) pngtest LIB:c_ppc.o pngtest.o $(LIBNAME) $(LDLIBS) \
 
33
LIB:end.o