source: trunk/essentials/app-arch/gzip/atari/Makefile.st

Last change on this file was 3325, checked in by bird, 18 years ago

gzip 1.3.11

File size: 1.4 KB
Line 
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.
4
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>.
9
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-filesystem version.
14
15CC=gcc
16BASIC_FLAGS = -O2 -DATARI
17
18# Use this for a TT-only version
19#TT_FLAGS = -m68020
20
21# CFLAGS for building a Minix-filesystem version
22CFLAGS = $(BASIC_FLAGS) $(TT_FLAGS)
23
24# CFLAGS for building a TOS-filesystem version
25#CFLAGS = $(BASIC_FLAGS) $(TT_FLAGS) -DTOSFS
26
27AS=$(CC) -c
28ASFLAGS = $(CFLAGS)
29LDFLAGS =
30
31OBJA = match.o
32OBJS = 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)
34
35gzip.ttp: $(OBJS)
36 $(CC) $(LDFLAGS) -o gzip.ttp $(OBJS)
37
38gzip.o zip.o deflate.o trees.o bits.o unzip.o inflate.o: gzip.h tailor.h
39util.o lzw.o unlzw.o unpack.o unlzh.o crypt.o: gzip.h tailor.h
40
41gzip.o unlzw.o: revision.h lzw.h
42
43bits.o unzip.o util.o zip.o: crypt.h
44
45gzip.o getopt.o: getopt.h
46
47match.o: match.S
48 $(AS) $(ASLAGS) match.S
Note: See TracBrowser for help on using the repository browser.