compress 4.0 deleted warning about -O
[unix-history] / usr / src / usr.bin / compress / Makefile
#
# @(#)Makefile 5.4 (Berkeley) %G%
#
COMFLAGS=-DBSD4_2 -O -DSACREDMEM=256000
BIN=${DESTDIR}/usr/ucb
compress: compress.c USERMEM
cc $(COMFLAGS) -DUSERMEM=`cat USERMEM` -o compress compress.c
# USERMEM may have to be set by hand. It should contain the amount of
# available user memory in bytes. Set it to zero, for physical memory
# less than 1 Meg.
USERMEM:
sh usermem.sh > USERMEM
install: compress
install -s compress $(BIN)
rm -f $(BIN)/uncompress $(BIN)/zcat
ln $(BIN)/compress $(BIN)/uncompress
ln $(BIN)/compress $(BIN)/zcat
clean:
rm -f compress USERMEM core errs