1 # Commodore Amiga Makefile
2 # makefile for libpng and SAS C V6.5x compiler
3 # Copyright (C) 1995-2000 Wolf Faust
5 # This code is released under the libpng license.
6 # For conditions of distribution and use, see the disclaimer
9 # Note: Use #define PNG_READ_BIG_ENDIAN_SUPPORTED in pngconf.h
11 # Location/path of zlib include files
16 # WARNING: a bug in V6.51 causes bad code with OPTGO
17 # So use V6.55 or set NOOPTGO!!!!!!!!!
18 CFLAGS= NOSTKCHK PARMS=REG OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL\
19 OPTLOOP OPTRDEP=4 OPTDEP=4 OPTCOMP=4 INCLUDEDIR=$(ZLIB) \
24 LDLIBS= libpng.lib libgz.lib LIB:scm.lib LIB:sc.lib Lib:amiga.lib
27 # file deletion command
29 # library (.lib) file creation command
31 # make directory command
34 OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
35 pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
36 pngwtran.o pngmem.o pngerror.o pngpread.o
38 all: libpng.lib pngtest
42 $(AR) libpng.lib r $(OBJS)
44 pngtest: pngtest.o libpng.lib
48 FROM LIB:c.o pngtest.o