summaryrefslogtreecommitdiff
path: root/Makefile-libbz2_so
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile-libbz2_so')
-rw-r--r--Makefile-libbz2_so10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile-libbz2_so b/Makefile-libbz2_so
index cff37c2..862eb7d 100644
--- a/Makefile-libbz2_so
+++ b/Makefile-libbz2_so
@@ -1,6 +1,6 @@
1 1
2# This Makefile builds a shared version of the library, 2# This Makefile builds a shared version of the library,
3# libbz2.so.1.0.6, with soname libbz2.so.1.0, 3# libbz2.so.1.0.7, with soname libbz2.so.1.0,
4# at least on x86-Linux (RedHat 7.2), 4# at least on x86-Linux (RedHat 7.2),
5# with gcc-2.96 20000731 (Red Hat Linux 7.1 2.96-98). 5# with gcc-2.96 20000731 (Red Hat Linux 7.1 2.96-98).
6# Please see the README file for some important info 6# Please see the README file for some important info
@@ -35,13 +35,13 @@ OBJS= blocksort.o \
35 bzlib.o 35 bzlib.o
36 36
37all: $(OBJS) 37all: $(OBJS)
38 $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.6 $(OBJS) 38 $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.7 $(OBJS)
39 $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.6 39 $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.7
40 rm -f libbz2.so.1.0 40 rm -f libbz2.so.1.0
41 ln -s libbz2.so.1.0.6 libbz2.so.1.0 41 ln -s libbz2.so.1.0.7 libbz2.so.1.0
42 42
43clean: 43clean:
44 rm -f $(OBJS) bzip2.o libbz2.so.1.0.6 libbz2.so.1.0 bzip2-shared 44 rm -f $(OBJS) bzip2.o libbz2.so.1.0.7 libbz2.so.1.0 bzip2-shared
45 45
46blocksort.o: blocksort.c 46blocksort.o: blocksort.c
47 $(CC) $(CFLAGS) -c blocksort.c 47 $(CC) $(CFLAGS) -c blocksort.c