moves from local to ucb
[unix-history] / usr / src / usr.bin / compress / Makefile
#
# @(#)Makefile 5.2 (Berkeley) %G%
#
# if you have bugs in your C compiler dont use -O
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
cp compress $(BIN)
rm -f $(BIN)/uncompress $(BIN)/zcat
ln $(BIN)/compress $(BIN)/uncompress
ln $(BIN)/compress $(BIN)/zcat
clean:
rm -f compress USERMEM