diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 58 |
1 files changed, 48 insertions, 10 deletions
| @@ -1,7 +1,8 @@ | |||
| 1 | 1 | ||
| 2 | SHELL=/bin/sh | 2 | SHELL=/bin/sh |
| 3 | CC=gcc | 3 | CC=gcc |
| 4 | CFLAGS=-Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce | 4 | BIGFILES=-D_FILE_OFFSET_BITS=64 |
| 5 | CFLAGS=-Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce $(BIGFILES) | ||
| 5 | 6 | ||
| 6 | OBJS= blocksort.o \ | 7 | OBJS= blocksort.o \ |
| 7 | huffman.o \ | 8 | huffman.o \ |
| @@ -73,6 +74,7 @@ clean: | |||
| 73 | sample1.tst sample2.tst sample3.tst | 74 | sample1.tst sample2.tst sample3.tst |
| 74 | 75 | ||
| 75 | blocksort.o: blocksort.c | 76 | blocksort.o: blocksort.c |
| 77 | @cat words0 | ||
| 76 | $(CC) $(CFLAGS) -c blocksort.c | 78 | $(CC) $(CFLAGS) -c blocksort.c |
| 77 | huffman.o: huffman.c | 79 | huffman.o: huffman.c |
| 78 | $(CC) $(CFLAGS) -c huffman.c | 80 | $(CC) $(CFLAGS) -c huffman.c |
| @@ -91,13 +93,49 @@ bzip2.o: bzip2.c | |||
| 91 | bzip2recover.o: bzip2recover.c | 93 | bzip2recover.o: bzip2recover.c |
| 92 | $(CC) $(CFLAGS) -c bzip2recover.c | 94 | $(CC) $(CFLAGS) -c bzip2recover.c |
| 93 | 95 | ||
| 96 | DISTNAME=bzip2-1.0.1 | ||
| 94 | tarfile: | 97 | tarfile: |
| 95 | tar cvf interim.tar blocksort.c huffman.c crctable.c \ | 98 | rm -f $(DISTNAME) |
| 96 | randtable.c compress.c decompress.c bzlib.c bzip2.c \ | 99 | ln -sf . $(DISTNAME) |
| 97 | bzip2recover.c bzlib.h bzlib_private.h Makefile manual.texi \ | 100 | tar cvf $(DISTNAME).tar \ |
| 98 | manual.ps LICENSE bzip2.1 bzip2.1.preformatted bzip2.txt \ | 101 | $(DISTNAME)/blocksort.c \ |
| 99 | words1 words2 words3 sample1.ref sample2.ref sample3.ref \ | 102 | $(DISTNAME)/huffman.c \ |
| 100 | sample1.bz2 sample2.bz2 sample3.bz2 dlltest.c \ | 103 | $(DISTNAME)/crctable.c \ |
| 101 | *.html README CHANGES libbz2.def libbz2.dsp \ | 104 | $(DISTNAME)/randtable.c \ |
| 102 | dlltest.dsp makefile.msc Y2K_INFO | 105 | $(DISTNAME)/compress.c \ |
| 103 | 106 | $(DISTNAME)/decompress.c \ | |
| 107 | $(DISTNAME)/bzlib.c \ | ||
| 108 | $(DISTNAME)/bzip2.c \ | ||
| 109 | $(DISTNAME)/bzip2recover.c \ | ||
| 110 | $(DISTNAME)/bzlib.h \ | ||
| 111 | $(DISTNAME)/bzlib_private.h \ | ||
| 112 | $(DISTNAME)/Makefile \ | ||
| 113 | $(DISTNAME)/manual.texi \ | ||
| 114 | $(DISTNAME)/manual.ps \ | ||
| 115 | $(DISTNAME)/LICENSE \ | ||
| 116 | $(DISTNAME)/bzip2.1 \ | ||
| 117 | $(DISTNAME)/bzip2.1.preformatted \ | ||
| 118 | $(DISTNAME)/bzip2.txt \ | ||
| 119 | $(DISTNAME)/words0 \ | ||
| 120 | $(DISTNAME)/words1 \ | ||
| 121 | $(DISTNAME)/words2 \ | ||
| 122 | $(DISTNAME)/words3 \ | ||
| 123 | $(DISTNAME)/sample1.ref \ | ||
| 124 | $(DISTNAME)/sample2.ref \ | ||
| 125 | $(DISTNAME)/sample3.ref \ | ||
| 126 | $(DISTNAME)/sample1.bz2 \ | ||
| 127 | $(DISTNAME)/sample2.bz2 \ | ||
| 128 | $(DISTNAME)/sample3.bz2 \ | ||
| 129 | $(DISTNAME)/dlltest.c \ | ||
| 130 | $(DISTNAME)/*.html \ | ||
| 131 | $(DISTNAME)/README \ | ||
| 132 | $(DISTNAME)/README.COMPILATION.PROBLEMS \ | ||
| 133 | $(DISTNAME)/CHANGES \ | ||
| 134 | $(DISTNAME)/libbz2.def \ | ||
| 135 | $(DISTNAME)/libbz2.dsp \ | ||
| 136 | $(DISTNAME)/dlltest.dsp \ | ||
| 137 | $(DISTNAME)/makefile.msc \ | ||
| 138 | $(DISTNAME)/Y2K_INFO \ | ||
| 139 | $(DISTNAME)/unzcrash.c \ | ||
| 140 | $(DISTNAME)/spewG.c \ | ||
| 141 | $(DISTNAME)/Makefile-libbz2_so | ||
