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) -lsuitesparseconfig
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-06-27 21:43:09.000000000 +0200
65 +++ RBio/Demo/Makefile 2012-06-27 21:43:50.571402567 +0200
68 include /usr/share/misc/SuiteSparse_config.mk
70 -CLIB = ../Lib/librbio.a -lsuitesparseconfig $(LIB)
71 +CLIB = ../Lib/librbio.la -lsuitesparseconfig $(LIB)
78 RBdemo: library RBdemo.c
79 - $(C) -o RBdemo $(I) RBdemo.c $(CLIB)
80 + libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o RBdemo $(I) RBdemo.c $(CLIB)