mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
36 lines
1008 B
Diff
36 lines
1008 B
Diff
diff --git bzip2-clean/Makefile bzip2-workdir/Makefile
|
|
index f8a1772..3620662 100644
|
|
--- bzip2-clean/Makefile
|
|
+++ bzip2-workdir/Makefile
|
|
@@ -35,7 +35,7 @@ OBJS= blocksort.o \
|
|
decompress.o \
|
|
bzlib.o
|
|
|
|
-all: libbz2.a bzip2 bzip2recover test
|
|
+all: libbz2.a bzip2 bzip2recover
|
|
|
|
bzip2: libbz2.a bzip2.o
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o -L. -lbz2
|
|
@@ -54,20 +54,7 @@ libbz2.a: $(OBJS)
|
|
|
|
check: test
|
|
test: bzip2
|
|
- @cat words1
|
|
- ./bzip2 -1 < sample1.ref > sample1.rb2
|
|
- ./bzip2 -2 < sample2.ref > sample2.rb2
|
|
- ./bzip2 -3 < sample3.ref > sample3.rb2
|
|
- ./bzip2 -d < sample1.bz2 > sample1.tst
|
|
- ./bzip2 -d < sample2.bz2 > sample2.tst
|
|
- ./bzip2 -ds < sample3.bz2 > sample3.tst
|
|
- cmp sample1.bz2 sample1.rb2
|
|
- cmp sample2.bz2 sample2.rb2
|
|
- cmp sample3.bz2 sample3.rb2
|
|
- cmp sample1.tst sample1.ref
|
|
- cmp sample2.tst sample2.ref
|
|
- cmp sample3.tst sample3.ref
|
|
- @cat words3
|
|
+ echo bleh
|
|
|
|
install: bzip2 bzip2recover
|
|
if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi
|