aboutsummaryrefslogtreecommitdiff
path: root/makefile.msc
diff options
context:
space:
mode:
Diffstat (limited to 'makefile.msc')
-rw-r--r--makefile.msc18
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
6CC=cl 6CC=cl
7CFLAGS= -DWIN32 -MD -Ox 7CFLAGS= -DWIN32 -MD -Ox -D_FILE_OFFSET_BITS=64
8 8
9OBJS= blocksort.obj \ 9OBJS= 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
23lib: $(OBJS) 23lib: $(OBJS)
24 del libbz2.lib
25 lib /out:libbz2.lib $(OBJS) 24 lib /out:libbz2.lib $(OBJS)
26 25
27test: bzip2 26test: 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
51clean: 49clean: