diff -2rcN zip-1.9/makefile zip/makefile *** zip-1.9/makefile Mon Aug 24 12:33:58 1992 --- zip/makefile Sun Sep 6 10:58:56 1992 *************** *** 8,12 **** @echo 'dnix, linux, sun, sun_gcc, next10, next, hpux, cray, cray3,' @echo '3b1, att6300, zilog, scodos, aux, c120, convex, aix, minix,' ! @echo 'isc, ultrix, dec_osf1 and xos.' @echo 'See the files install.doc and zip.doc for more information.' @echo '' --- 8,12 ---- @echo 'dnix, linux, sun, sun_gcc, next10, next, hpux, cray, cray3,' @echo '3b1, att6300, zilog, scodos, aux, c120, convex, aix, minix,' ! @echo 'isc, ultrix, dec_osf1, xos and amiga_gcc.' @echo 'See the files install.doc and zip.doc for more information.' @echo '' *************** *** 235,238 **** --- 235,242 ---- xos: $(MAKE) zips CFLAGS="-O -DTERMIO" + + # amiga_gcc: Amiga with Markus Wild gcc and dmake + amiga_gcc: + dmake -f makefile.amiga zips # clean up after making stuff and installing it diff -2rcN zip-1.9/makefile.amiga zip/makefile.amiga *** zip-1.9/makefile.amiga --- zip/makefile.amiga Sun Sep 6 11:30:25 1992 *************** *** 0 **** --- 1,41 ---- + # Makefile for Zip, ZipNote and ZipSplit + + BIND = gcc + CFLAGS = -O2 + + # object file lists + OBJZ = zip.o zipfile.o zipup.o fileio.o util.o globals.o + + OBJI = deflate.o trees.o bits.o + OBJU = zipfile._o zipup._o fileio._o util._o globals._o + OBJN = zipnote._o $(OBJU) + OBJS = zipsplit._o $(OBJU) + + # rules for zip, zipnote, zipcloak, zipsplit + $(OBJZ): zip.h ziperr.h tailor.h + $(OBJI): zip.h ziperr.h tailor.h + $(OBJN): zip.h ziperr.h tailor.h + $(OBJS): zip.h ziperr.h tailor.h + + # suffix rules + .SUFFIXES: + .SUFFIXES: ._o .o .c + .c._o: + $(CC) $(CFLAGS) -DUTIL -resident $(CRFLAG) -c $< -o $*._o + + .c.o: + $(CC) $(CFLAGS) $(CRFLAG) -c $< + + ZIPS = zip$E zipnote$E zipsplit$E + zips: $(ZIPS) + + zip.o zipup.o: revision.h + + zip$E: $(OBJZ) $(OBJI) # it's not resident + $(BIND) -o zip$E $(LFLAGS1) $(OBJZ) $(OBJI) $(OBJA) $(LFLAGS2) + zipnote$E: $(OBJN) + $(BIND) -o zipnote$E -resident $(LFLAGS1) $(OBJN) $(LFLAGS2) + zipsplit$E: $(OBJS) + $(BIND) -o zipsplit$E -resident $(LFLAGS1) $(OBJS) $(LFLAGS2) + + # end of Makefile