1 # Commodore Amiga Makefile
2 # makefile for libpng and SAS C V6.55 compiler
3 # Copyright (C) 1995 Wolf Faust
8 # WARNING: a bug in V6.51 causes bad code with OPTGO
9 # So use V6.55 or set NOOPTGO!!!!!!!!!
10 CFLAGS= NOSTKCHK PARMS=REG OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL\
11 OPTLOOP OPTRDEP=4 OPTDEP=4 OPTCOMP=4 DEFINE=PNG_INTERNAL
15 LDLIBS= libpng.lib libgz.lib LIB:scm.lib LIB:sc.lib Lib:amiga.lib
18 # file deletion command
20 # library (.lib) file creation command
22 # make directory command
25 OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o pngpread.o \
26 pngread.o pngerror.o pngwrite.o pngrtran.o pngwtran.o pngrio.o pngwio.o pngmem.o
28 all: libpng.lib pngtest
32 $(AR) libpng.lib r $(OBJS)
34 pngtest: pngtest.o libpng.lib
38 FROM LIB:c.o pngtest.o