You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# Amiga powerUP (TM) Makefile
# makefile for libpng and SAS C V6.58/7.00 PPC compiler
# Copyright (C) 1998 by Andreas R. Kleinert
CC = scppcCFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL \
OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8LIBNAME = libzip.aAR = ppc-amigaos-arAR_FLAGS = crRANLIB = ppc-amigaos-ranlibLDFLAGS = -r -oLDLIBS = LIB:scppc.aLN = ppc-amigaos-ldRM = delete quiet
OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o
TEST_OBJS = example.o minigzip.o
all: example minigzip
test: all example echo hello world | minigzip | minigzip -d
$(LIBNAME): $(OBJS) $(AR) $(AR_FLAGS) $@ $(OBJS) $(RANLIB) $@
example: example.o $(LIBNAME) $(LN) $(LDFLAGS) example LIB:c_ppc.o example.o $(LIBNAME) $(LDLIBS) LIB:end.o
minigzip: minigzip.o $(LIBNAME) $(LN) $(LDFLAGS) minigzip LIB:c_ppc.o minigzip.o $(LIBNAME) $(LDLIBS) LIB:end.o
clean: $(RM) *.o example minigzip $(LIBNAME) foo.gz
zip: zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \
descrip.mms *.[ch]
tgz: cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \
zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch]
# DO NOT DELETE THIS LINE -- make depend depends on it.
adler32.o: zutil.h zlib.h zconf.hcompress.o: zlib.h zconf.hcrc32.o: zutil.h zlib.h zconf.hdeflate.o: deflate.h zutil.h zlib.h zconf.hexample.o: zlib.h zconf.hgzio.o: zutil.h zlib.h zconf.hinfblock.o: zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.hinfcodes.o: zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.hinffast.o: zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.hinflate.o: zutil.h zlib.h zconf.h infblock.hinftrees.o: zutil.h zlib.h zconf.h inftrees.hinfutil.o: zutil.h zlib.h zconf.h inftrees.h infutil.hminigzip.o: zlib.h zconf.htrees.o: deflate.h zutil.h zlib.h zconf.huncompr.o: zlib.h zconf.hzutil.o: zutil.h zlib.h zconf.h
|