diff options
author | Julian Seward <jseward@acm.org> | 2000-06-24 22:13:13 +0200 |
---|---|---|
committer | Julian Seward <jseward@acm.org> | 2000-06-24 22:13:13 +0200 |
commit | 795b859eee96c700e8f3c3fe68e6a9a39d95797c (patch) | |
tree | 48f8a731cd5ec2f5f15c6d99f2207ebf4a1f35f6 /makefile.msc | |
parent | f93cd82a9a7094ad90fd19bbc6ccf6f4627f8060 (diff) | |
download | bzip2-1.0.1.tar.gz bzip2-1.0.1.tar.bz2 bzip2-1.0.1.zip |
bzip2-1.0.1bzip2-1.0.1
Diffstat (limited to 'makefile.msc')
-rw-r--r-- | makefile.msc | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/makefile.msc b/makefile.msc index 4b49f78..3fe4232 100644 --- a/makefile.msc +++ b/makefile.msc | |||
@@ -4,7 +4,7 @@ | |||
4 | # Fixed up by JRS for bzip2-0.9.5d release. | 4 | # Fixed up by JRS for bzip2-0.9.5d release. |
5 | 5 | ||
6 | CC=cl | 6 | CC=cl |
7 | CFLAGS= -DWIN32 -MD -Ox | 7 | CFLAGS= -DWIN32 -MD -Ox -D_FILE_OFFSET_BITS=64 |
8 | 8 | ||
9 | OBJS= blocksort.obj \ | 9 | OBJS= blocksort.obj \ |
10 | huffman.obj \ | 10 | huffman.obj \ |
@@ -21,7 +21,6 @@ bzip2: lib | |||
21 | $(CC) $(CFLAGS) -o bzip2recover bzip2recover.c | 21 | $(CC) $(CFLAGS) -o bzip2recover bzip2recover.c |
22 | 22 | ||
23 | lib: $(OBJS) | 23 | lib: $(OBJS) |
24 | del libbz2.lib | ||
25 | lib /out:libbz2.lib $(OBJS) | 24 | lib /out:libbz2.lib $(OBJS) |
26 | 25 | ||
27 | test: bzip2 | 26 | test: bzip2 |
@@ -32,20 +31,19 @@ test: bzip2 | |||
32 | .\\bzip2 -d < sample1.bz2 > sample1.tst | 31 | .\\bzip2 -d < sample1.bz2 > sample1.tst |
33 | .\\bzip2 -d < sample2.bz2 > sample2.tst | 32 | .\\bzip2 -d < sample2.bz2 > sample2.tst |
34 | .\\bzip2 -ds < sample3.bz2 > sample3.tst | 33 | .\\bzip2 -ds < sample3.bz2 > sample3.tst |
34 | @echo All six of the fc's should find no differences. | ||
35 | @echo If fc finds an error on sample3.bz2, this could be | ||
36 | @echo because WinZip's 'TAR file smart CR/LF conversion' | ||
37 | @echo is too clever for its own good. Disable this option. | ||
38 | @echo The correct size for sample3.ref is 120,244. If it | ||
39 | @echo is 150,251, WinZip has messed it up. | ||
35 | fc sample1.bz2 sample1.rb2 | 40 | fc sample1.bz2 sample1.rb2 |
36 | fc sample2.bz2 sample2.rb2 | 41 | fc sample2.bz2 sample2.rb2 |
37 | fc sample3.bz2 sample3.rb2 | 42 | fc sample3.bz2 sample3.rb2 |
38 | fc sample1.tst sample1.ref | 43 | fc sample1.tst sample1.ref |
39 | fc sample2.tst sample2.ref | 44 | fc sample2.tst sample2.ref |
40 | fc sample3.tst sample3.ref | 45 | fc sample3.tst sample3.ref |
41 | @echo All six of the fc's should find no differences. | 46 | |
42 | @echo If fc finds an error on sample3.tst, this could be | ||
43 | @echo because WinZips 'TAR file smart CR/LF conversion' | ||
44 | @echo is too clever for its own good. Disable this option. | ||
45 | @echo The correct size for sample3.ref is 120,244. If it | ||
46 | @echo is around 150k, WinZip has stuffed it up. | ||
47 | @echo Also remember to set BZ_UNIX to 0 and BZ_LCCWIN32 | ||
48 | @echo to 1 in bzip2.c. | ||
49 | 47 | ||
50 | 48 | ||
51 | clean: | 49 | clean: |