diff options
author | David Walter Seikel | 2016-03-28 22:28:34 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-03-28 22:28:34 +1000 |
commit | 7028cbe09c688437910a25623098762bf0fa592d (patch) | |
tree | 10b5af58277d9880380c2251f109325542c4e6eb /src/others/irrlicht-1.8.1/source/Irrlicht/bzip2/makefile.msc | |
parent | Move lemon to the src/others directory. (diff) | |
download | SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.zip SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.gz SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.bz2 SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.xz |
Move Irrlicht to src/others.
Diffstat (limited to 'src/others/irrlicht-1.8.1/source/Irrlicht/bzip2/makefile.msc')
-rw-r--r-- | src/others/irrlicht-1.8.1/source/Irrlicht/bzip2/makefile.msc | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/source/Irrlicht/bzip2/makefile.msc b/src/others/irrlicht-1.8.1/source/Irrlicht/bzip2/makefile.msc new file mode 100644 index 0000000..799a18a --- /dev/null +++ b/src/others/irrlicht-1.8.1/source/Irrlicht/bzip2/makefile.msc | |||
@@ -0,0 +1,63 @@ | |||
1 | # Makefile for Microsoft Visual C++ 6.0 | ||
2 | # usage: nmake -f makefile.msc | ||
3 | # K.M. Syring (syring@gsf.de) | ||
4 | # Fixed up by JRS for bzip2-0.9.5d release. | ||
5 | |||
6 | CC=cl | ||
7 | CFLAGS= -DWIN32 -MD -Ox -D_FILE_OFFSET_BITS=64 -nologo | ||
8 | |||
9 | OBJS= blocksort.obj \ | ||
10 | huffman.obj \ | ||
11 | crctable.obj \ | ||
12 | randtable.obj \ | ||
13 | compress.obj \ | ||
14 | decompress.obj \ | ||
15 | bzlib.obj | ||
16 | |||
17 | all: lib bzip2 test | ||
18 | |||
19 | bzip2: lib | ||
20 | $(CC) $(CFLAGS) -o bzip2 bzip2.c libbz2.lib setargv.obj | ||
21 | $(CC) $(CFLAGS) -o bzip2recover bzip2recover.c | ||
22 | |||
23 | lib: $(OBJS) | ||
24 | lib /out:libbz2.lib $(OBJS) | ||
25 | |||
26 | test: bzip2 | ||
27 | type words1 | ||
28 | .\\bzip2 -1 < sample1.ref > sample1.rb2 | ||
29 | .\\bzip2 -2 < sample2.ref > sample2.rb2 | ||
30 | .\\bzip2 -3 < sample3.ref > sample3.rb2 | ||
31 | .\\bzip2 -d < sample1.bz2 > sample1.tst | ||
32 | .\\bzip2 -d < sample2.bz2 > sample2.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. | ||
40 | fc sample1.bz2 sample1.rb2 | ||
41 | fc sample2.bz2 sample2.rb2 | ||
42 | fc sample3.bz2 sample3.rb2 | ||
43 | fc sample1.tst sample1.ref | ||
44 | fc sample2.tst sample2.ref | ||
45 | fc sample3.tst sample3.ref | ||
46 | |||
47 | |||
48 | |||
49 | clean: | ||
50 | del *.obj | ||
51 | del libbz2.lib | ||
52 | del bzip2.exe | ||
53 | del bzip2recover.exe | ||
54 | del sample1.rb2 | ||
55 | del sample2.rb2 | ||
56 | del sample3.rb2 | ||
57 | del sample1.tst | ||
58 | del sample2.tst | ||
59 | del sample3.tst | ||
60 | |||
61 | .c.obj: | ||
62 | $(CC) $(CFLAGS) -c $*.c -o $*.obj | ||
63 | |||