moves from local to ucb
[unix-history] / usr / src / usr.bin / compress / Makefile
CommitLineData
64d06f2f 1#
e182e612 2# @(#)Makefile 5.2 (Berkeley) %G%
64d06f2f
KM
3#
4# if you have bugs in your C compiler dont use -O
5COMFLAGS=-DBSD4_2 -O -DSACREDMEM=256000
e182e612 6BIN=${DESTDIR}/usr/ucb
64d06f2f
KM
7
8compress : compress.c USERMEM
9 cc $(COMFLAGS) -DUSERMEM=`cat USERMEM` -o compress compress.c
10
11# USERMEM may have to be set by hand. It should contain the amount of
12# available user memory in bytes. Set it to zero, for physical memory
13# less than 1 Meg.
14USERMEM:
15 sh usermem.sh > USERMEM
16
17install: compress
18 cp compress $(BIN)
19 rm -f $(BIN)/uncompress $(BIN)/zcat
20 ln $(BIN)/compress $(BIN)/uncompress
21 ln $(BIN)/compress $(BIN)/zcat
22
23clean:
24 rm -f compress USERMEM