1 # Makefile for gzip (GNU zip) -*- Indented-Text -*-
2 # Copyright (C) 1992-1993 Jean-loup Gailly and the Free Software Foundation
4 # Amiga GCC version, written by Preston Hunt <gt5708a@prism.gatech.edu>
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 CFLAGS = -m68020 -m68881 -O2
25 #for the 68000, set below: OBJA=
30 SRCS = gzip.c zip.c deflate.c trees.c bits.c unzip.c inflate.c util.c crypt.c\
31 lzw.c unlzw.c unpack.c unlzh.c makecrc.c getopt.c match.S
35 OBJS = gzip$O zip$O deflate$O trees$O bits$O unzip$O inflate$O util$O \
36 crypt$O lzw$O unlzw$O unpack$O unlzh$O getopt$O match$O
38 HDRS = gzip.h lzw.h tailor.h revision.h crypt.h getopt.h
41 $(CC) -c $(DEFS) $(CFLAGS) $<
47 $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
49 gzip$O zip$O deflate$O trees$O bits$O unzip$O inflate$O: gzip.h tailor.h
50 util$O lzw$O unlzw$O unpack$O unlzh$O crypt$O: gzip.h tailor.h
52 gzip$O unlzw$O: revision.h lzw.h
54 bits$O unzip$O util$O zip$O: crypt.h
56 gzip$O getopt$O: getopt.h
59 $(CPP) $(CPPFLAGS) match.S > _match.s