
SH = /bin/sh

CC = gcc
CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -fno-strength-reduce -Wall -Winline -Wshadow -W

bzip: bzip.c
	$(CC) $(CFLAGS) -o bzip bzip.c

bunzip: bzip
	ln -s ./bzip bunzip

install: bzip bunzip
	cp -dfp bzip bunzip /usr/local/bin/

clean:
	rm -f bzip bunzip

dist:
	cd .. && (tar -cvf - bzip-0.21 | gzip -9 > bzip021.tgz)

