]>
Commit | Line | Data |
---|---|---|
9f39e7e6 JB |
1 | --- CHOLMOD/Demo/Makefile.orig 2012-01-01 17:10:50.000000000 +0100 |
2 | +++ CHOLMOD/Demo/Makefile 2012-01-01 17:13:20.706633471 +0100 | |
3 | @@ -15,9 +15,8 @@ | |
4 | CONFIG = | |
5 | ifeq (,$(findstring -DNPARTITION, $(CHOLMOD_CONFIG))) | |
6 | # check if METIS is available | |
7 | - ifeq (../../metis-4.0, $(wildcard ../../metis-4.0)) | |
8 | - LIB_WITH_PARTITION = $(METIS) ../../CCOLAMD/Lib/libccolamd.a \ | |
9 | - ../../CAMD/Lib/libcamd.a | |
10 | + ifeq ($(WITH_METIS), 1) | |
11 | + LIB_WITH_PARTITION = $(METIS) -lccolamd -lcamd | |
12 | else | |
13 | # METIS is not available, but CHOLMOD_CONFIG does not specify | |
14 | # -DNPARTITION. Add it here so we can still compile CHOLMOD. | |
15 | @@ -26,7 +25,7 @@ | |
16 | endif | |
ba82e1c6 JR |
17 | #------------------------------------------------------------------------------- |
18 | ||
9f39e7e6 JB |
19 | -LIB2 = ../Lib/libcholmod.a ../../AMD/Lib/libamd.a ../../COLAMD/Lib/libcolamd.a \ |
20 | +LIB2 = -lcholmod -lamd -lcolamd \ | |
21 | $(LIB_WITH_PARTITION) $(LAPACK) $(BLAS) $(XERBLA) $(LIB) | |
ba82e1c6 JR |
22 | |
23 | #------------------------------------------------------------------------------- | |
9f39e7e6 JB |
24 | @@ -63,27 +62,19 @@ |
25 | #------------------------------------------------------------------------------- | |
26 | # See below if you compile with -DNPARTITION | |
ba82e1c6 JR |
27 | library: |
28 | - ( cd ../../UFconfig/xerbla ; $(MAKE) ) | |
29 | ( cd ../Lib ; $(MAKE) ) | |
30 | - ( cd ../../AMD ; $(MAKE) library ) | |
ba82e1c6 | 31 | - ( cd ../../COLAMD ; $(MAKE) library ) |
9f39e7e6 JB |
32 | -ifneq (,$(findstring -DNPARTITION, $(CHOLMOD_CONFIG))) |
33 | -else | |
ba82e1c6 | 34 | - ( cd ../../CCOLAMD ; $(MAKE) library ) |
9f39e7e6 JB |
35 | - ( cd ../../CAMD ; $(MAKE) library ) |
36 | -endif | |
ba82e1c6 JR |
37 | #------------------------------------------------------------------------------- |
38 | ||
39 | I = -I../Include | |
40 | ||
41 | cholmod_demo: library cholmod_demo.c cholmod_demo.h | |
42 | - $(C) -o cholmod_demo $(I) cholmod_demo.c $(LIB2) | |
9f39e7e6 | 43 | + libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o cholmod_demo $(I) cholmod_demo.c $(LIB2) |
ba82e1c6 JR |
44 | |
45 | cholmod_simple: library cholmod_simple.c | |
46 | - $(C) -o cholmod_simple $(I) cholmod_simple.c $(LIB2) | |
9f39e7e6 | 47 | + libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o cholmod_simple $(I) cholmod_simple.c $(LIB2) |
ba82e1c6 JR |
48 | |
49 | cholmod_l_demo: library cholmod_l_demo.c cholmod_demo.h | |
50 | - $(C) -o cholmod_l_demo $(I) cholmod_l_demo.c $(LIB2) | |
9f39e7e6 | 51 | + libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o cholmod_l_demo $(I) cholmod_l_demo.c $(LIB2) |
ba82e1c6 JR |
52 | |
53 | readhb: readhb.f | |
54 | $(F77) $(FFLAGS) -o readhb readhb.f | |
9f39e7e6 JB |
55 | --- CHOLMOD/Lib/Makefile.orig 2012-01-01 17:10:50.673295114 +0100 |
56 | +++ CHOLMOD/Lib/Makefile 2012-01-01 17:16:30.863306505 +0100 | |
57 | @@ -11,12 +11,14 @@ | |
58 | #------------------------------------------------------------------------------- | |
59 | # the optional Partition module requires METIS, CAMD, and CCOLAMD | |
60 | I_WITH_PARTITION = | |
61 | +LIB_WITH_PARTITION = | |
62 | CONFIG = | |
63 | ifeq (,$(findstring -DNPARTITION, $(CHOLMOD_CONFIG))) | |
64 | # METIS is check if METIS is available | |
65 | ifeq ($(WITH_METIS), 1) | |
66 | I_WITH_PARTITION = -I/usr/include/metis \ | |
67 | -I/usr/include/ccolamd -I/usr/include/camd | |
68 | + LIB_WITH_PARTITION = $(METIS) -lccolamd -lcamd | |
69 | else | |
70 | # METIS is not available, but CHOLMOD_CONFIG does not specify | |
71 | # -DNPARTITION. Add it here so we can still compile CHOLMOD. | |
72 | @@ -31,14 +33,14 @@ | |
73 | ||
74 | C = $(CC) $(CF) $(CHOLMOD_CONFIG) $(CONFIG) | |
ba82e1c6 JR |
75 | |
76 | -all: libcholmod.a | |
77 | +all: libcholmod.la | |
78 | ||
79 | -library: libcholmod.a | |
80 | +library: libcholmod.la | |
81 | ||
82 | purge: distclean | |
83 | ||
84 | distclean: clean | |
85 | - - $(RM) libcholmod.a | |
86 | + - $(RM) libcholmod.la | |
87 | ||
88 | clean: | |
89 | - $(RM) $(CLEAN) | |
9f39e7e6 | 90 | @@ -130,9 +132,13 @@ |
ba82e1c6 JR |
91 | # to compile just the double/int version, use OBJ = $(DI) |
92 | OBJ = $(DI) $(DL) | |
93 | ||
94 | -libcholmod.a: $(OBJ) | |
9f39e7e6 JB |
95 | - $(ARCHIVE) libcholmod.a $(OBJ) |
96 | - - $(RANLIB) libcholmod.a | |
ba82e1c6 | 97 | +libcholmod.la: $(OBJ) |
57018fae | 98 | + libtool --tag=CC --mode=link $(CC) $(LDFLAGS) -o libcholmod.la -rpath $(libdir) $(OBJ:.o=.lo) -lm \ |
9f39e7e6 | 99 | + -lamd -lcolamd $(LIB_WITH_PARTITION) $(LAPACK) $(BLAS) |
ba82e1c6 JR |
100 | + |
101 | +install: libcholmod.la | |
102 | + install -d $(DESTDIR)$(libdir) | |
103 | + libtool --mode=install cp libcholmod.la $(DESTDIR)$(libdir)/libcholmod.la | |
104 | ||
105 | $(OBJ): $(INC) | |
106 | ||
9f39e7e6 | 107 | @@ -141,24 +147,24 @@ |
ba82e1c6 JR |
108 | #------------------------------------------------------------------------------- |
109 | ||
110 | cholmod_check.o: ../Check/cholmod_check.c | |
111 | - $(C) -c $(I) $< | |
9f39e7e6 | 112 | + libtool --tag=CC --mode=compile $(C) -c $(I) $< |
ba82e1c6 JR |
113 | |
114 | cholmod_read.o: ../Check/cholmod_read.c | |
115 | - $(C) -c $(I) $< | |
9f39e7e6 | 116 | + libtool --tag=CC --mode=compile $(C) -c $(I) $< |
ba82e1c6 JR |
117 | |
118 | cholmod_write.o: ../Check/cholmod_write.c | |
119 | - $(C) -c $(I) $< | |
9f39e7e6 | 120 | + libtool --tag=CC --mode=compile $(C) -c $(I) $< |
ba82e1c6 JR |
121 | |
122 | #------------------------------------------------------------------------------- | |
123 | ||
124 | cholmod_l_check.o: ../Check/cholmod_check.c | |
125 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 126 | + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@ |
ba82e1c6 JR |
127 | |
128 | cholmod_l_read.o: ../Check/cholmod_read.c | |
129 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 130 | + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@ |
ba82e1c6 JR |
131 | |
132 | cholmod_l_write.o: ../Check/cholmod_write.c | |
133 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 134 | + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@ |
ba82e1c6 JR |
135 | |
136 | ||
137 | #------------------------------------------------------------------------------- | |
9f39e7e6 | 138 | @@ -166,92 +172,92 @@ |
ba82e1c6 JR |
139 | #------------------------------------------------------------------------------- |
140 | ||
141 | cholmod_common.o: ../Core/cholmod_common.c | |
142 | - $(C) -c $(I) $< | |
9f39e7e6 | 143 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
144 | |
145 | cholmod_dense.o: ../Core/cholmod_dense.c ../Core/t_cholmod_dense.c | |
146 | - $(C) -c $(I) $< | |
9f39e7e6 | 147 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
148 | |
149 | cholmod_factor.o: ../Core/cholmod_factor.c | |
150 | - $(C) -c $(I) $< | |
9f39e7e6 | 151 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
152 | |
153 | cholmod_change_factor.o: ../Core/cholmod_change_factor.c \ | |
154 | ../Core/t_cholmod_change_factor.c | |
155 | - $(C) -c $(I) $< | |
9f39e7e6 | 156 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
157 | |
158 | cholmod_memory.o: ../Core/cholmod_memory.c | |
159 | - $(C) -c $(I) $< | |
9f39e7e6 | 160 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
161 | |
162 | cholmod_sparse.o: ../Core/cholmod_sparse.c | |
163 | - $(C) -c $(I) $< | |
9f39e7e6 | 164 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
165 | |
166 | cholmod_complex.o: ../Core/cholmod_complex.c | |
167 | - $(C) -c $(I) $< | |
9f39e7e6 | 168 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
169 | |
170 | cholmod_transpose.o: ../Core/cholmod_transpose.c ../Core/t_cholmod_transpose.c | |
171 | - $(C) -c $(I) $< | |
9f39e7e6 | 172 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
173 | |
174 | cholmod_band.o: ../Core/cholmod_band.c | |
175 | - $(C) -c $(I) $< | |
9f39e7e6 | 176 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
177 | |
178 | cholmod_copy.o: ../Core/cholmod_copy.c | |
179 | - $(C) -c $(I) $< | |
9f39e7e6 | 180 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
181 | |
182 | cholmod_triplet.o: ../Core/cholmod_triplet.c ../Core/t_cholmod_triplet.c | |
183 | - $(C) -c $(I) $< | |
9f39e7e6 | 184 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
185 | |
186 | cholmod_error.o: ../Core/cholmod_error.c | |
187 | - $(C) -c $(I) $< | |
9f39e7e6 | 188 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
189 | |
190 | cholmod_aat.o: ../Core/cholmod_aat.c | |
191 | - $(C) -c $(I) $< | |
9f39e7e6 | 192 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
193 | |
194 | cholmod_add.o: ../Core/cholmod_add.c | |
195 | - $(C) -c $(I) $< | |
9f39e7e6 | 196 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
197 | |
198 | #------------------------------------------------------------------------------- | |
199 | ||
200 | cholmod_l_common.o: ../Core/cholmod_common.c | |
201 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 202 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
203 | |
204 | cholmod_l_dense.o: ../Core/cholmod_dense.c ../Core/t_cholmod_dense.c | |
205 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 206 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
207 | |
208 | cholmod_l_factor.o: ../Core/cholmod_factor.c | |
209 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 210 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
211 | |
212 | cholmod_l_change_factor.o: ../Core/cholmod_change_factor.c \ | |
213 | ../Core/t_cholmod_change_factor.c | |
214 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 215 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
216 | |
217 | cholmod_l_memory.o: ../Core/cholmod_memory.c | |
218 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 219 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
220 | |
221 | cholmod_l_sparse.o: ../Core/cholmod_sparse.c | |
222 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 223 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
224 | |
225 | cholmod_l_complex.o: ../Core/cholmod_complex.c | |
226 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 227 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
228 | |
229 | cholmod_l_transpose.o: ../Core/cholmod_transpose.c ../Core/t_cholmod_transpose.c | |
230 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 231 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
232 | |
233 | cholmod_l_band.o: ../Core/cholmod_band.c | |
234 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 235 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
236 | |
237 | cholmod_l_copy.o: ../Core/cholmod_copy.c | |
238 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 239 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
240 | |
241 | cholmod_l_triplet.o: ../Core/cholmod_triplet.c ../Core/t_cholmod_triplet.c | |
242 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 243 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
244 | |
245 | cholmod_l_error.o: ../Core/cholmod_error.c | |
246 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 247 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
248 | |
249 | cholmod_l_aat.o: ../Core/cholmod_aat.c | |
250 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 251 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
252 | |
253 | cholmod_l_add.o: ../Core/cholmod_add.c | |
254 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 255 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
256 | |
257 | ||
258 | #------------------------------------------------------------------------------- | |
9f39e7e6 | 259 | @@ -259,116 +265,116 @@ |
ba82e1c6 JR |
260 | #------------------------------------------------------------------------------- |
261 | ||
262 | cholmod_amd.o: ../Cholesky/cholmod_amd.c | |
263 | - $(C) -c $(I) $< | |
9f39e7e6 | 264 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
265 | |
266 | cholmod_analyze.o: ../Cholesky/cholmod_analyze.c | |
267 | - $(C) -c $(I) $< | |
9f39e7e6 | 268 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
269 | |
270 | cholmod_colamd.o: ../Cholesky/cholmod_colamd.c | |
271 | - $(C) -c $(I) $< | |
9f39e7e6 | 272 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
273 | |
274 | cholmod_etree.o: ../Cholesky/cholmod_etree.c | |
275 | - $(C) -c $(I) $< | |
9f39e7e6 | 276 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
277 | |
278 | cholmod_factorize.o: ../Cholesky/cholmod_factorize.c | |
279 | - $(C) -c $(I) $< | |
9f39e7e6 | 280 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
281 | |
282 | cholmod_postorder.o: ../Cholesky/cholmod_postorder.c | |
283 | - $(C) -c $(I) $< | |
9f39e7e6 | 284 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
285 | |
286 | cholmod_rcond.o: ../Cholesky/cholmod_rcond.c | |
287 | - $(C) -c $(I) $< | |
9f39e7e6 | 288 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
289 | |
290 | cholmod_resymbol.o: ../Cholesky/cholmod_resymbol.c | |
291 | - $(C) -c $(I) $< | |
9f39e7e6 | 292 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
293 | |
294 | cholmod_rowcolcounts.o: ../Cholesky/cholmod_rowcolcounts.c | |
295 | - $(C) -c $(I) $< | |
9f39e7e6 | 296 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
297 | |
298 | cholmod_solve.o: ../Cholesky/cholmod_solve.c ../Cholesky/t_cholmod_lsolve.c \ | |
299 | ../Cholesky/t_cholmod_ltsolve.c ../Cholesky/t_cholmod_solve.c | |
300 | - $(C) -c $(I) $< | |
9f39e7e6 | 301 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
302 | |
303 | cholmod_spsolve.o: ../Cholesky/cholmod_spsolve.c | |
304 | - $(C) -c $(I) $< | |
9f39e7e6 | 305 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
306 | |
307 | cholmod_rowfac.o: ../Cholesky/cholmod_rowfac.c ../Cholesky/t_cholmod_rowfac.c | |
308 | - $(C) -c $(I) $< | |
9f39e7e6 | 309 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
310 | |
311 | #------------------------------------------------------------------------------- | |
312 | ||
313 | cholmod_l_amd.o: ../Cholesky/cholmod_amd.c | |
314 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 315 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
316 | |
317 | cholmod_l_analyze.o: ../Cholesky/cholmod_analyze.c | |
318 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 319 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
320 | |
321 | cholmod_l_colamd.o: ../Cholesky/cholmod_colamd.c | |
322 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 323 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
324 | |
325 | cholmod_l_etree.o: ../Cholesky/cholmod_etree.c | |
326 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 327 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
328 | |
329 | cholmod_l_factorize.o: ../Cholesky/cholmod_factorize.c | |
330 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 331 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
332 | |
333 | cholmod_l_postorder.o: ../Cholesky/cholmod_postorder.c | |
334 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 335 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
336 | |
337 | cholmod_l_rcond.o: ../Cholesky/cholmod_rcond.c | |
338 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 339 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
340 | |
341 | cholmod_l_resymbol.o: ../Cholesky/cholmod_resymbol.c | |
342 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 343 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
344 | |
345 | cholmod_l_rowcolcounts.o: ../Cholesky/cholmod_rowcolcounts.c | |
346 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 347 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
348 | |
349 | cholmod_l_solve.o: ../Cholesky/cholmod_solve.c ../Cholesky/t_cholmod_lsolve.c \ | |
350 | ../Cholesky/t_cholmod_ltsolve.c ../Cholesky/t_cholmod_solve.c | |
351 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 352 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
353 | |
354 | cholmod_l_spsolve.o: ../Cholesky/cholmod_spsolve.c | |
355 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 356 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
357 | |
358 | cholmod_l_rowfac.o: ../Cholesky/cholmod_rowfac.c ../Cholesky/t_cholmod_rowfac.c | |
359 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 360 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
361 | |
362 | #------------------------------------------------------------------------------- | |
363 | # Partition Module: | |
364 | #------------------------------------------------------------------------------- | |
365 | ||
366 | cholmod_ccolamd.o: ../Partition/cholmod_ccolamd.c | |
367 | - $(C) -c $(I) $< | |
9f39e7e6 | 368 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
369 | |
370 | cholmod_csymamd.o: ../Partition/cholmod_csymamd.c | |
371 | - $(C) -c $(I) $< | |
9f39e7e6 | 372 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
373 | |
374 | cholmod_camd.o: ../Partition/cholmod_camd.c | |
375 | - $(C) -c $(I) $< | |
9f39e7e6 | 376 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
377 | |
378 | cholmod_metis.o: ../Partition/cholmod_metis.c | |
379 | - $(C) -c $(I) $< | |
9f39e7e6 | 380 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
381 | |
382 | cholmod_nesdis.o: ../Partition/cholmod_nesdis.c | |
383 | - $(C) -c $(I) $< | |
9f39e7e6 | 384 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
385 | |
386 | #------------------------------------------------------------------------------- | |
387 | ||
388 | cholmod_l_ccolamd.o: ../Partition/cholmod_ccolamd.c | |
389 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 390 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
391 | |
392 | cholmod_l_csymamd.o: ../Partition/cholmod_csymamd.c | |
393 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 394 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
395 | |
396 | cholmod_l_camd.o: ../Partition/cholmod_camd.c | |
397 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 398 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
399 | |
400 | cholmod_l_metis.o: ../Partition/cholmod_metis.c | |
401 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 402 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
403 | |
404 | cholmod_l_nesdis.o: ../Partition/cholmod_nesdis.c | |
405 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 406 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
407 | |
408 | ||
409 | #------------------------------------------------------------------------------- | |
9f39e7e6 | 410 | @@ -376,88 +382,88 @@ |
ba82e1c6 JR |
411 | #------------------------------------------------------------------------------- |
412 | ||
413 | cholmod_horzcat.o: ../MatrixOps/cholmod_horzcat.c | |
414 | - $(C) -c $(I) $< | |
9f39e7e6 | 415 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
416 | |
417 | cholmod_norm.o: ../MatrixOps/cholmod_norm.c | |
418 | - $(C) -c $(I) $< | |
9f39e7e6 | 419 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
420 | |
421 | cholmod_scale.o: ../MatrixOps/cholmod_scale.c | |
422 | - $(C) -c $(I) $< | |
9f39e7e6 | 423 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
424 | |
425 | cholmod_drop.o: ../MatrixOps/cholmod_drop.c | |
426 | - $(C) -c $(I) $< | |
9f39e7e6 | 427 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
428 | |
429 | cholmod_sdmult.o: ../MatrixOps/cholmod_sdmult.c \ | |
430 | ../MatrixOps/t_cholmod_sdmult.c | |
431 | - $(C) -c $(I) $< | |
9f39e7e6 | 432 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
433 | |
434 | cholmod_ssmult.o: ../MatrixOps/cholmod_ssmult.c | |
435 | - $(C) -c $(I) $< | |
9f39e7e6 | 436 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
437 | |
438 | cholmod_submatrix.o: ../MatrixOps/cholmod_submatrix.c | |
439 | - $(C) -c $(I) $< | |
9f39e7e6 | 440 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
441 | |
442 | cholmod_vertcat.o: ../MatrixOps/cholmod_vertcat.c | |
443 | - $(C) -c $(I) $< | |
9f39e7e6 | 444 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
445 | |
446 | cholmod_symmetry.o: ../MatrixOps/cholmod_symmetry.c | |
447 | - $(C) -c $(I) $< | |
9f39e7e6 | 448 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
449 | |
450 | #------------------------------------------------------------------------------- | |
451 | ||
452 | cholmod_l_horzcat.o: ../MatrixOps/cholmod_horzcat.c | |
453 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 454 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
455 | |
456 | cholmod_l_norm.o: ../MatrixOps/cholmod_norm.c | |
457 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 458 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
459 | |
460 | cholmod_l_scale.o: ../MatrixOps/cholmod_scale.c | |
461 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 462 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
463 | |
464 | cholmod_l_drop.o: ../MatrixOps/cholmod_drop.c | |
465 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 466 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
467 | |
468 | cholmod_l_sdmult.o: ../MatrixOps/cholmod_sdmult.c \ | |
469 | ../MatrixOps/t_cholmod_sdmult.c | |
470 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 471 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
472 | |
473 | cholmod_l_ssmult.o: ../MatrixOps/cholmod_ssmult.c | |
474 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 475 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
476 | |
477 | cholmod_l_submatrix.o: ../MatrixOps/cholmod_submatrix.c | |
478 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 479 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
480 | |
481 | cholmod_l_vertcat.o: ../MatrixOps/cholmod_vertcat.c | |
482 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 483 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
484 | |
485 | cholmod_l_symmetry.o: ../MatrixOps/cholmod_symmetry.c | |
486 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 487 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
488 | |
489 | #------------------------------------------------------------------------------- | |
490 | # Modify Module: | |
491 | #------------------------------------------------------------------------------- | |
492 | ||
493 | cholmod_rowadd.o: ../Modify/cholmod_rowadd.c | |
494 | - $(C) -c $(I) $< | |
9f39e7e6 | 495 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
496 | |
497 | cholmod_rowdel.o: ../Modify/cholmod_rowdel.c | |
498 | - $(C) -c $(I) $< | |
9f39e7e6 | 499 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
500 | |
501 | cholmod_updown.o: ../Modify/cholmod_updown.c \ | |
502 | ../Modify/t_cholmod_updown.c ../Modify/t_cholmod_updown_numkr.c | |
503 | - $(C) -c $(I) $< | |
9f39e7e6 | 504 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
505 | |
506 | #------------------------------------------------------------------------------- | |
507 | ||
508 | cholmod_l_rowadd.o: ../Modify/cholmod_rowadd.c | |
509 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 510 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
511 | |
512 | cholmod_l_rowdel.o: ../Modify/cholmod_rowdel.c | |
513 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 514 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
515 | |
516 | cholmod_l_updown.o: ../Modify/cholmod_updown.c \ | |
517 | ../Modify/t_cholmod_updown.c ../Modify/t_cholmod_updown_numkr.c | |
518 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 519 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
520 | |
521 | ||
522 | #------------------------------------------------------------------------------- | |
9f39e7e6 | 523 | @@ -466,24 +472,24 @@ |
ba82e1c6 JR |
524 | |
525 | cholmod_super_numeric.o: ../Supernodal/cholmod_super_numeric.c \ | |
526 | ../Supernodal/t_cholmod_super_numeric.c | |
527 | - $(C) -c $(I) $< | |
9f39e7e6 | 528 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
529 | |
530 | cholmod_super_symbolic.o: ../Supernodal/cholmod_super_symbolic.c | |
531 | - $(C) -c $(I) $< | |
9f39e7e6 | 532 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
533 | |
534 | cholmod_super_solve.o: ../Supernodal/cholmod_super_solve.c \ | |
535 | ../Supernodal/t_cholmod_super_solve.c | |
536 | - $(C) -c $(I) $< | |
9f39e7e6 | 537 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
538 | |
539 | #------------------------------------------------------------------------------- | |
540 | ||
541 | cholmod_l_super_numeric.o: ../Supernodal/cholmod_super_numeric.c \ | |
542 | ../Supernodal/t_cholmod_super_numeric.c | |
543 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 544 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
545 | |
546 | cholmod_l_super_symbolic.o: ../Supernodal/cholmod_super_symbolic.c | |
547 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 548 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
549 | |
550 | cholmod_l_super_solve.o: ../Supernodal/cholmod_super_solve.c \ | |
551 | ../Supernodal/t_cholmod_super_solve.c | |
552 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 553 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |