From 33d134030248633ffa7d60c0a35a783c46da034b Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Thu, 7 Aug 1997 22:13:13 +0200 Subject: bzip2-0.1 --- Makefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d124743 --- /dev/null +++ b/Makefile @@ -0,0 +1,30 @@ + +CC = gcc +SH = /bin/sh + +CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -Wall -Winline -W + + + +all: + cat words0 + $(CC) $(CFLAGS) -o bzip2 bzip2.c + $(CC) $(CFLAGS) -o bzip2recover bzip2recover.c + rm -f bunzip2 + ln -s ./bzip2 ./bunzip2 + cat words1 + ./bzip2 -1 < sample1.ref > sample1.rb2 + ./bzip2 -2 < sample2.ref > sample2.rb2 + ./bunzip2 < sample1.bz2 > sample1.tst + ./bunzip2 < sample2.bz2 > sample2.tst + cat words2 + cmp sample1.bz2 sample1.rb2 + cmp sample2.bz2 sample2.rb2 + cmp sample1.tst sample1.ref + cmp sample2.tst sample2.ref + cat words3 + + +clean: + rm -f bzip2 bunzip2 bzip2recover sample*.tst sample*.rb2 + -- cgit v1.2.3-55-g6feb