# Makefile generated by build.

# C complier
CC=gcc -b i386-linux -V 2.2.2d

# Install directory for binarys
BINDIR=/bin

# Install directory for manual
MANDIR=/usr/man/man1

# compiler options:
# options is a collection of:
#
#	-DDIRENT=1					Use dirent.h
#	-DSYSDIR=1					Use sys/dir.h
#	-DLSTAT=1					Use lstat for finding symlinks.
#	-DUTIME_H=1					Use utime.h
#	-DUSERMEM=<size>			Availble memory for compress (default 800k).
#	-DREGISTERS=<nbr>			Number of registers (default 2).
#	-DIBUFSIZ=<size>			Input buffer size (default BUFSIZ).
#	-DOBUFSIZ=<size>			Output buffer size (default BUFSIZ)
#	-DBYTEORDER=<order>			Byte order (default: unknown).
#	-DNOALLIGN=1				Data word allignment (default: yes).
#	-DDEF_ERRNO=1				Define error (not defined in errno.h).
#	-DMAXSEG_64K=1 -BITS=16		Support segment processsor like 80286.
#
options= -DDIRENT=1 -DUSERMEM=800000 -DREGISTERS=3 -DIBUFSIZ=1024 \
	-DOBUFSIZ=1024 -DBYTEORDER=4321 -DNOALLIGN=1 -DLSTAT=1 \
	-DUTIME_H=1

# libary options
LBOPT=-s -jump

CFLAGS=-O2 -fomit-frame-pointer

compress:	Makefile compress42.c patchlevel.h
	$(CC) $(CFLAGS) -o $@ "-DCOMPILE_DATE=\"`date`\"" compress42.c  $(LBOPT)
