1 # Amiga powerUP (TM) Makefile
\r
2 # makefile for libpng and SAS C V6.58/7.00 PPC compiler
\r
3 # Copyright (C) 1998 by Andreas R. Kleinert
\r
8 CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL \
\r
9 OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8 NOVER
\r
10 AR = ppc-amigaos-ar cr
\r
11 RANLIB = ppc-amigaos-ranlib
\r
12 LD = ppc-amigaos-ld -r
\r
14 LDLIBS = LIB:scppc.a LIB:end.o
\r
17 OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
\r
18 zutil.o inflate.o infback.o inftrees.o inffast.o
\r
20 TEST_OBJS = example.o minigzip.o
\r
22 all: example minigzip
\r
27 echo hello world | minigzip | minigzip -d
\r
33 example: example.o $(LIBNAME)
\r
34 $(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS)
\r
36 minigzip: minigzip.o $(LIBNAME)
\r
37 $(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS)
\r
41 $(RM) *.o example minigzip $(LIBNAME) foo.gz
\r
44 zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \
\r
48 cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \
\r
49 zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch]
\r
51 # DO NOT DELETE THIS LINE -- make depend depends on it.
\r
53 adler32.o: zlib.h zconf.h
\r
54 compress.o: zlib.h zconf.h
\r
55 crc32.o: crc32.h zlib.h zconf.h
\r
56 deflate.o: deflate.h zutil.h zlib.h zconf.h
\r
57 example.o: zlib.h zconf.h
\r
58 gzio.o: zutil.h zlib.h zconf.h
\r
59 inffast.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
\r
60 inflate.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
\r
61 infback.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
\r
62 inftrees.o: zutil.h zlib.h zconf.h inftrees.h
\r
63 minigzip.o: zlib.h zconf.h
\r
64 trees.o: deflate.h zutil.h zlib.h zconf.h trees.h
\r
65 uncompr.o: zlib.h zconf.h
\r
66 zutil.o: zutil.h zlib.h zconf.h
\r