diff options
author | Aki <please@ignore.pl> | 2021-09-29 21:56:06 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-09-29 21:56:06 +0200 |
commit | 740dcb396658606b435d42203e729de96e1814ad (patch) | |
tree | b8446f1320d5836cc258b873cec378d6f735829e /libpng/scripts/makefile.amiga | |
parent | c5337fbb15c93d63739abbef259e8cc8db117877 (diff) | |
parent | 32d5cbb90bcca185eb2f96307f1fc644c612178d (diff) | |
download | starshatter-740dcb396658606b435d42203e729de96e1814ad.zip starshatter-740dcb396658606b435d42203e729de96e1814ad.tar.gz starshatter-740dcb396658606b435d42203e729de96e1814ad.tar.bz2 |
Merge commit '32d5cbb90bcca185eb2f96307f1fc644c612178d' as 'libpng'
Diffstat (limited to 'libpng/scripts/makefile.amiga')
-rw-r--r-- | libpng/scripts/makefile.amiga | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/libpng/scripts/makefile.amiga b/libpng/scripts/makefile.amiga new file mode 100644 index 0000000..228b5c2 --- /dev/null +++ b/libpng/scripts/makefile.amiga @@ -0,0 +1,56 @@ +# Commodore Amiga Makefile +# makefile for libpng and SAS C V6.5x compiler +# Copyright (C) 1995-2000 Wolf Faust +# +# This code is released under the libpng license. +# For conditions of distribution and use, see the disclaimer +# and license in png.h +# +# Location/path of zlib include files +ZLIB=/zlib +#compiler +CC=sc +#compiler flags +# WARNING: a bug in V6.51 causes bad code with OPTGO +# So use V6.55 or set NOOPTGO!!!!!!!!! +CFLAGS= NOSTKCHK PARMS=REG OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL\ + OPTLOOP OPTRDEP=4 OPTDEP=4 OPTCOMP=4 INCLUDEDIR=$(ZLIB) \ + DEFINE=PNG_INTERNAL +#linker flags +LDFLAGS= SD ND BATCH +#link libs +LDLIBS= libpng.lib libgz.lib LIB:scm.lib LIB:sc.lib Lib:amiga.lib +# linker +LN= slink +# file deletion command +RM= delete quiet +# file copy command? +CP= copy +# library (.lib) file creation command +AR= oml +# make directory command +MKDIR= makedir + +OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ + pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ + pngwtran.o pngmem.o pngerror.o pngpread.o + +all: libpng.lib pngtest + +libpng.lib: $(OBJS) +-$(RM) libpng.lib +$(AR) libpng.lib r $(OBJS) + +$(OBJS): pngpriv.h png.h pngconf.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h + +pnglibconf.h: scripts/pnglibconf.h.prebuilt +$(CP) scripts/pnglibconf.h.prebuilt pnglibconf.h + +pngtest: pngtest.o libpng.lib +$(LN) <WITH < +$(LDFLAGS) +TO pngtest +FROM LIB:c.o pngtest.o +LIB $(LDLIBS) +< + |