1 --- RBio/Lib/Makefile.orig 2012-01-09 17:07:19.559765294 +0100
2 +++ RBio/Lib/Makefile 2012-01-09 17:13:03.056443463 +0100
22 # The 7 CHOLMOD library modules (int, double)
23 #-------------------------------------------------------------------------------
35 #-------------------------------------------------------------------------------
37 # to compile just the double/int version, use OBJ = $(DI)
42 - $(ARCHIVE) librbio.a $(OBJ)
43 - - $(RANLIB) librbio.a
45 + libtool --tag=CC --mode=link $(CC) $(LDFLAGS) $(CFLAGS) -o librbio.la -rpath $(libdir) $(OBJ:.o=.lo) -lufconfig
48 + install -d $(DESTDIR)$(libdir)
49 + libtool --mode=install cp librbio.la $(DESTDIR)$(libdir)/librbio.la
54 #-------------------------------------------------------------------------------
56 RBio.o: ../Source/RBio.c
58 + libtool --tag=CC --mode=compile $(C) -c $(I) $< -o RBio.lo
60 RBio_i.o: ../Source/RBio.c
61 - $(C) -c -DINT $(I) $<
62 + libtool --tag=CC --mode=compile $(C) -c -DINT $(I) $< -o RBio_i.lo
64 --- RBio/Demo/Makefile.orig 2012-01-09 17:15:23.029781482 +0100
65 +++ RBio/Demo/Makefile 2012-01-09 17:51:37.443187623 +0100
68 include /usr/share/misc/UFconfig.mk
70 -LIB = ../Lib/librbio.a -lufconfig
71 +LIB = ../Lib/librbio.la -lufconfig
78 RBdemo: library RBdemo.c
79 - $(C) -o RBdemo $(I) RBdemo.c $(LIB)
80 + libtool --tag=CC --mode=link $(C) -o RBdemo $(I) RBdemo.c $(LIB)