1 # Makefile for gzip (GNU zip) -*- Indented-Text -*-
2 # This is free software; you can redistribute it and/or modify it under the
3 # terms of the GNU General Public License, see the file COPYING.
5 # Simple Atari-specific makefile for gcc.
6 # Written by Daniel Eriksson <den@hgs.se>
7 # Modified by Andreas Schwab <schwab@ls5.informatik.uni-dortmund.de>
8 # and Robert Fischer <fischer-robert@cs.yale.edu>.
10 # This Makefile is configured by default for the Atari ST using the
11 # Minix filesytem. It can be modified (for efficiency) for an Atari TT
12 # according to the instructions given below. It must be modified
13 # for building a TOS-file system version.
16 BASIC_FLAGS = -O2 -DATARI
18 # Use this for a TT-only version
21 # CFLAGS for building a Minix-file system version
22 CFLAGS = $(BASIC_FLAGS) $(TT_FLAGS)
24 # CFLAGS for building a TOS-file system version
25 #CFLAGS = $(BASIC_FLAGS) $(TT_FLAGS) -DTOSFS
32 OBJS = bits.o crypt.o deflate.o getopt.o gzip.o inflate.o lzw.o \
33 trees.o unlzw.o unpack.o unlzh.o unzip.o util.o zip.o $(OBJA)
36 $(CC) $(LDFLAGS) -o gzip.ttp $(OBJS)
38 gzip.o zip.o deflate.o trees.o bits.o unzip.o inflate.o: gzip.h tailor.h
39 util.o lzw.o unlzw.o unpack.o unlzh.o crypt.o: gzip.h tailor.h
41 gzip.o unlzw.o: revision.h lzw.h
43 bits.o unzip.o util.o zip.o: crypt.h
45 gzip.o getopt.o: getopt.h
48 $(AS) $(ASLAGS) match.S