CFLAGS =	-damiga -dlattice -dBITS=$(BITS) 
OBJ =		compress.o stat.o
CC =		lc

# The following define determines the amount of dynamic memory
# compress will use for it's tables.  The following is a rough
# guideline of the amount of free contiguous space needed to run
# with various settings of BITS.
#
#	BITS		Free contiguous memory required
#	-----		-------------------------------
#
#	16		433000
#	15		230000
#	14		128000
#	13		 73000
#
# In particular, note that the default of 16 will probably not run
# on Amigas without extended (more than 512K) memory.  Also note that
# this can be adjusted without any Makefile or source changes by
# specifying BITS on the command line to "make".  I.E.  "make BITS=13".

BITS =		16

.c.o:
		$(CC) $(CFLAGS) -o$@ $*.c

all :		compress

compress :	compress.o stat.o
		blink with link.cmd

