1 --- CHOLMOD/Demo/Makefile.orig 2013-04-20 07:49:10.121084286 +0200
2 +++ CHOLMOD/Demo/Makefile 2013-04-20 08:00:24.634389311 +0200
4 # CAMD and CCOLAMD can be installed without METIS, but are optional.
7 -CONFIG = -DNPARTITION -DNCAMD
9 # check if CAMD/CCOLAMD and METIS are requested and available
10 ifeq (,$(findstring -DNCAMD, $(CHOLMOD_CONFIG)))
11 - # CAMD and CCOLAMD are requested. See if they are available
12 - ifeq (../../CAMD, $(wildcard ../../CAMD))
13 - ifeq (../../CCOLAMD, $(wildcard ../../CCOLAMD))
14 + # CAMD and CCOLAMD are requested. Assume they are available
15 # CAMD and CCOLAMD are requested and available
16 LIB_WITH_PARTITION = \
17 - ../../CCOLAMD/Lib/libccolamd.a ../../CAMD/Lib/libcamd.a
20 - -I../../CCOLAMD/Include -I../../CAMD/Include
21 + -I/usr/include/ccolamd -I/usr/include/camd
23 # check if METIS is requested and available
24 ifeq (,$(findstring -DNPARTITION, $(CHOLMOD_CONFIG)))
25 - # METIS is requested. See if it is available
26 - ifeq ($(METIS_PATH), $(wildcard $(METIS_PATH)))
27 + # METIS is requested. Assume it is available
29 - LIB_WITH_PARTITION = $(METIS) \
30 - ../../CCOLAMD/Lib/libccolamd.a ../../CAMD/Lib/libcamd.a
31 - I_WITH_PARTITION = -I$(METIS_PATH)/Lib \
32 - -I../../CCOLAMD/Include -I../../CAMD/Include
33 + LIB_WITH_PARTITION = -lmetis -lccolamd -lcamd
34 + I_WITH_PARTITION = -I/usr/include/metis \
35 + -I/usr/include/ccolamd -I/usr/include/camd
43 #-------------------------------------------------------------------------------
45 -LIB2 = ../Lib/libcholmod.a ../../AMD/Lib/libamd.a ../../COLAMD/Lib/libcolamd.a \
46 - ../../SuiteSparse_config/libsuitesparseconfig.a \
47 +LIB2 = ../Lib/libcholmod.la -lsuitesparseconfig -lamd -lcolamd \
48 $(LIB_WITH_PARTITION) $(LAPACK) $(BLAS) $(XERBLA) $(LIB)
50 #-------------------------------------------------------------------------------
52 #-------------------------------------------------------------------------------
53 # See below if you compile with -DNPARTITION
55 - ( cd ../../SuiteSparse_config/xerbla ; $(MAKE) )
56 - ( cd ../../SuiteSparse_config ; $(MAKE) )
57 ( cd ../Lib ; $(MAKE) )
58 - ( cd ../../AMD ; $(MAKE) library )
59 - ( cd ../../COLAMD ; $(MAKE) library )
60 -ifneq (,$(findstring -DCAMD, $(CONFIG)))
62 - ( cd ../../CCOLAMD ; $(MAKE) library )
63 - ( cd ../../CAMD ; $(MAKE) library )
65 -ifneq (,$(findstring -DNPARTITION, $(CONFIG)))
67 - ( cd $(METIS_PATH) && $(MAKE) )
70 #-------------------------------------------------------------------------------
74 cholmod_demo: library cholmod_demo.c cholmod_demo.h
75 - $(C) -o cholmod_demo $(I) cholmod_demo.c $(LIB2)
76 + libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o cholmod_demo $(I) cholmod_demo.c $(LIB2)
78 cholmod_simple: library cholmod_simple.c
79 - $(C) -o cholmod_simple $(I) cholmod_simple.c $(LIB2)
80 + libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o cholmod_simple $(I) cholmod_simple.c $(LIB2)
82 cholmod_l_demo: library cholmod_l_demo.c cholmod_demo.h
83 - $(C) -o cholmod_l_demo $(I) cholmod_l_demo.c $(LIB2)
84 + libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o cholmod_l_demo $(I) cholmod_l_demo.c $(LIB2)
87 - $(F77) $(FFLAGS) -o readhb readhb.f
88 + $(F77) $(LDFLAGS) $(FFLAGS) -o readhb readhb.f
91 - $(F77) $(FFLAGS) -O -o readhb2 readhb2.f
92 + $(F77) $(LDFLAGS) -O $(FFLAGS) -o readhb2 readhb2.f
95 - $(F77) $(FFLAGS) -O -o reade reade.f
96 + $(F77) $(LDFLAGS) -O $(FFLAGS) -o reade reade.f
97 --- CHOLMOD/Lib/Makefile.orig 2014-10-02 21:02:42.319207445 +0200
98 +++ CHOLMOD/Lib/Makefile 2014-10-02 21:06:16.905865107 +0200
101 C = $(CC) $(CF) $(CHOLMOD_CONFIG) $(CONFIG)
106 -library: libcholmod.a
107 +library: libcholmod.la
112 - - $(RM) libcholmod.a
113 + - $(RM) libcholmod.la
118 # to compile just the double/int version, use OBJ = $(DI)
121 -libcholmod.a: $(OBJ)
122 - $(ARCHIVE) libcholmod.a $(OBJ)
123 - - $(RANLIB) libcholmod.a
124 +libcholmod.la: $(OBJ)
125 + libtool --tag=CC --mode=link $(CC) $(LDFLAGS) -o libcholmod.la -rpath $(libdir) $(OBJ:.o=.lo) -lm \
126 + -lamd -lcolamd -lsuitesparseconfig $(LIB_WITH_PARTITION) $(LAPACK) $(BLAS)
128 +install: libcholmod.la
129 + install -d $(DESTDIR)$(libdir)
130 + libtool --mode=install cp libcholmod.la $(DESTDIR)$(libdir)/libcholmod.la
134 @@ -160,24 +164,24 @@
135 #-------------------------------------------------------------------------------
137 cholmod_check.o: ../Check/cholmod_check.c
139 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
141 cholmod_read.o: ../Check/cholmod_read.c
143 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
145 cholmod_write.o: ../Check/cholmod_write.c
147 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
149 #-------------------------------------------------------------------------------
151 cholmod_l_check.o: ../Check/cholmod_check.c
152 - $(C) -DDLONG -c $(I) $< -o $@
153 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
155 cholmod_l_read.o: ../Check/cholmod_read.c
156 - $(C) -DDLONG -c $(I) $< -o $@
157 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
159 cholmod_l_write.o: ../Check/cholmod_write.c
160 - $(C) -DDLONG -c $(I) $< -o $@
161 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
164 #-------------------------------------------------------------------------------
165 @@ -185,98 +189,98 @@
166 #-------------------------------------------------------------------------------
168 cholmod_common.o: ../Core/cholmod_common.c
170 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
172 cholmod_dense.o: ../Core/cholmod_dense.c ../Core/t_cholmod_dense.c
174 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
176 cholmod_factor.o: ../Core/cholmod_factor.c
178 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
180 cholmod_change_factor.o: ../Core/cholmod_change_factor.c \
181 ../Core/t_cholmod_change_factor.c
183 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
185 cholmod_memory.o: ../Core/cholmod_memory.c
187 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
189 cholmod_sparse.o: ../Core/cholmod_sparse.c
191 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
193 cholmod_complex.o: ../Core/cholmod_complex.c
195 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
197 cholmod_transpose.o: ../Core/cholmod_transpose.c ../Core/t_cholmod_transpose.c
199 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
201 cholmod_band.o: ../Core/cholmod_band.c
203 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
205 cholmod_copy.o: ../Core/cholmod_copy.c
207 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
209 cholmod_triplet.o: ../Core/cholmod_triplet.c ../Core/t_cholmod_triplet.c
211 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
213 cholmod_error.o: ../Core/cholmod_error.c
215 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
217 cholmod_aat.o: ../Core/cholmod_aat.c
219 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
221 cholmod_add.o: ../Core/cholmod_add.c
223 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
225 cholmod_version.o: ../Core/cholmod_version.c
227 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
229 #-------------------------------------------------------------------------------
231 cholmod_l_common.o: ../Core/cholmod_common.c
232 - $(C) -DDLONG -c $(I) $< -o $@
233 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
235 cholmod_l_dense.o: ../Core/cholmod_dense.c ../Core/t_cholmod_dense.c
236 - $(C) -DDLONG -c $(I) $< -o $@
237 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
239 cholmod_l_factor.o: ../Core/cholmod_factor.c
240 - $(C) -DDLONG -c $(I) $< -o $@
241 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
243 cholmod_l_change_factor.o: ../Core/cholmod_change_factor.c \
244 ../Core/t_cholmod_change_factor.c
245 - $(C) -DDLONG -c $(I) $< -o $@
246 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
248 cholmod_l_memory.o: ../Core/cholmod_memory.c
249 - $(C) -DDLONG -c $(I) $< -o $@
250 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
252 cholmod_l_sparse.o: ../Core/cholmod_sparse.c
253 - $(C) -DDLONG -c $(I) $< -o $@
254 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
256 cholmod_l_complex.o: ../Core/cholmod_complex.c
257 - $(C) -DDLONG -c $(I) $< -o $@
258 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
260 cholmod_l_transpose.o: ../Core/cholmod_transpose.c ../Core/t_cholmod_transpose.c
261 - $(C) -DDLONG -c $(I) $< -o $@
262 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
264 cholmod_l_band.o: ../Core/cholmod_band.c
265 - $(C) -DDLONG -c $(I) $< -o $@
266 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
268 cholmod_l_copy.o: ../Core/cholmod_copy.c
269 - $(C) -DDLONG -c $(I) $< -o $@
270 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
272 cholmod_l_triplet.o: ../Core/cholmod_triplet.c ../Core/t_cholmod_triplet.c
273 - $(C) -DDLONG -c $(I) $< -o $@
274 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
276 cholmod_l_error.o: ../Core/cholmod_error.c
277 - $(C) -DDLONG -c $(I) $< -o $@
278 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
280 cholmod_l_aat.o: ../Core/cholmod_aat.c
281 - $(C) -DDLONG -c $(I) $< -o $@
282 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
284 cholmod_l_add.o: ../Core/cholmod_add.c
285 - $(C) -DDLONG -c $(I) $< -o $@
286 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
288 cholmod_l_version.o: ../Core/cholmod_version.c
289 - $(C) -DDLONG -c $(I) $< -o $@
290 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
293 #-------------------------------------------------------------------------------
294 @@ -284,116 +288,116 @@
295 #-------------------------------------------------------------------------------
297 cholmod_amd.o: ../Cholesky/cholmod_amd.c
299 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
301 cholmod_analyze.o: ../Cholesky/cholmod_analyze.c
303 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
305 cholmod_colamd.o: ../Cholesky/cholmod_colamd.c
307 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
309 cholmod_etree.o: ../Cholesky/cholmod_etree.c
311 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
313 cholmod_factorize.o: ../Cholesky/cholmod_factorize.c
315 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
317 cholmod_postorder.o: ../Cholesky/cholmod_postorder.c
319 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
321 cholmod_rcond.o: ../Cholesky/cholmod_rcond.c
323 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
325 cholmod_resymbol.o: ../Cholesky/cholmod_resymbol.c
327 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
329 cholmod_rowcolcounts.o: ../Cholesky/cholmod_rowcolcounts.c
331 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
333 cholmod_solve.o: ../Cholesky/cholmod_solve.c ../Cholesky/t_cholmod_lsolve.c \
334 ../Cholesky/t_cholmod_ltsolve.c ../Cholesky/t_cholmod_solve.c
336 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
338 cholmod_spsolve.o: ../Cholesky/cholmod_spsolve.c
340 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
342 cholmod_rowfac.o: ../Cholesky/cholmod_rowfac.c ../Cholesky/t_cholmod_rowfac.c
344 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
346 #-------------------------------------------------------------------------------
348 cholmod_l_amd.o: ../Cholesky/cholmod_amd.c
349 - $(C) -DDLONG -c $(I) $< -o $@
350 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
352 cholmod_l_analyze.o: ../Cholesky/cholmod_analyze.c
353 - $(C) -DDLONG -c $(I) $< -o $@
354 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
356 cholmod_l_colamd.o: ../Cholesky/cholmod_colamd.c
357 - $(C) -DDLONG -c $(I) $< -o $@
358 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
360 cholmod_l_etree.o: ../Cholesky/cholmod_etree.c
361 - $(C) -DDLONG -c $(I) $< -o $@
362 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
364 cholmod_l_factorize.o: ../Cholesky/cholmod_factorize.c
365 - $(C) -DDLONG -c $(I) $< -o $@
366 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
368 cholmod_l_postorder.o: ../Cholesky/cholmod_postorder.c
369 - $(C) -DDLONG -c $(I) $< -o $@
370 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
372 cholmod_l_rcond.o: ../Cholesky/cholmod_rcond.c
373 - $(C) -DDLONG -c $(I) $< -o $@
374 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
376 cholmod_l_resymbol.o: ../Cholesky/cholmod_resymbol.c
377 - $(C) -DDLONG -c $(I) $< -o $@
378 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
380 cholmod_l_rowcolcounts.o: ../Cholesky/cholmod_rowcolcounts.c
381 - $(C) -DDLONG -c $(I) $< -o $@
382 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
384 cholmod_l_solve.o: ../Cholesky/cholmod_solve.c ../Cholesky/t_cholmod_lsolve.c \
385 ../Cholesky/t_cholmod_ltsolve.c ../Cholesky/t_cholmod_solve.c
386 - $(C) -DDLONG -c $(I) $< -o $@
387 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
389 cholmod_l_spsolve.o: ../Cholesky/cholmod_spsolve.c
390 - $(C) -DDLONG -c $(I) $< -o $@
391 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
393 cholmod_l_rowfac.o: ../Cholesky/cholmod_rowfac.c ../Cholesky/t_cholmod_rowfac.c
394 - $(C) -DDLONG -c $(I) $< -o $@
395 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
397 #-------------------------------------------------------------------------------
399 #-------------------------------------------------------------------------------
401 cholmod_ccolamd.o: ../Partition/cholmod_ccolamd.c
403 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
405 cholmod_csymamd.o: ../Partition/cholmod_csymamd.c
407 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
409 cholmod_camd.o: ../Partition/cholmod_camd.c
411 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
413 cholmod_metis.o: ../Partition/cholmod_metis.c
415 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
417 cholmod_nesdis.o: ../Partition/cholmod_nesdis.c
419 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
421 #-------------------------------------------------------------------------------
423 cholmod_l_ccolamd.o: ../Partition/cholmod_ccolamd.c
424 - $(C) -DDLONG -c $(I) $< -o $@
425 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
427 cholmod_l_csymamd.o: ../Partition/cholmod_csymamd.c
428 - $(C) -DDLONG -c $(I) $< -o $@
429 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
431 cholmod_l_camd.o: ../Partition/cholmod_camd.c
432 - $(C) -DDLONG -c $(I) $< -o $@
433 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
435 cholmod_l_metis.o: ../Partition/cholmod_metis.c
436 - $(C) -DDLONG -c $(I) $< -o $@
437 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
439 cholmod_l_nesdis.o: ../Partition/cholmod_nesdis.c
440 - $(C) -DDLONG -c $(I) $< -o $@
441 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
444 #-------------------------------------------------------------------------------
445 @@ -401,88 +405,88 @@
446 #-------------------------------------------------------------------------------
448 cholmod_horzcat.o: ../MatrixOps/cholmod_horzcat.c
450 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
452 cholmod_norm.o: ../MatrixOps/cholmod_norm.c
454 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
456 cholmod_scale.o: ../MatrixOps/cholmod_scale.c
458 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
460 cholmod_drop.o: ../MatrixOps/cholmod_drop.c
462 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
464 cholmod_sdmult.o: ../MatrixOps/cholmod_sdmult.c \
465 ../MatrixOps/t_cholmod_sdmult.c
467 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
469 cholmod_ssmult.o: ../MatrixOps/cholmod_ssmult.c
471 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
473 cholmod_submatrix.o: ../MatrixOps/cholmod_submatrix.c
475 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
477 cholmod_vertcat.o: ../MatrixOps/cholmod_vertcat.c
479 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
481 cholmod_symmetry.o: ../MatrixOps/cholmod_symmetry.c
483 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
485 #-------------------------------------------------------------------------------
487 cholmod_l_horzcat.o: ../MatrixOps/cholmod_horzcat.c
488 - $(C) -DDLONG -c $(I) $< -o $@
489 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
491 cholmod_l_norm.o: ../MatrixOps/cholmod_norm.c
492 - $(C) -DDLONG -c $(I) $< -o $@
493 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
495 cholmod_l_scale.o: ../MatrixOps/cholmod_scale.c
496 - $(C) -DDLONG -c $(I) $< -o $@
497 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
499 cholmod_l_drop.o: ../MatrixOps/cholmod_drop.c
500 - $(C) -DDLONG -c $(I) $< -o $@
501 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
503 cholmod_l_sdmult.o: ../MatrixOps/cholmod_sdmult.c \
504 ../MatrixOps/t_cholmod_sdmult.c
505 - $(C) -DDLONG -c $(I) $< -o $@
506 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
508 cholmod_l_ssmult.o: ../MatrixOps/cholmod_ssmult.c
509 - $(C) -DDLONG -c $(I) $< -o $@
510 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
512 cholmod_l_submatrix.o: ../MatrixOps/cholmod_submatrix.c
513 - $(C) -DDLONG -c $(I) $< -o $@
514 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
516 cholmod_l_vertcat.o: ../MatrixOps/cholmod_vertcat.c
517 - $(C) -DDLONG -c $(I) $< -o $@
518 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
520 cholmod_l_symmetry.o: ../MatrixOps/cholmod_symmetry.c
521 - $(C) -DDLONG -c $(I) $< -o $@
522 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
524 #-------------------------------------------------------------------------------
526 #-------------------------------------------------------------------------------
528 cholmod_rowadd.o: ../Modify/cholmod_rowadd.c
530 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
532 cholmod_rowdel.o: ../Modify/cholmod_rowdel.c
534 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
536 cholmod_updown.o: ../Modify/cholmod_updown.c \
537 ../Modify/t_cholmod_updown.c ../Modify/t_cholmod_updown_numkr.c
539 + libtool --tag=CC --mode=compile $(C) $(I) -c $<
541 #-------------------------------------------------------------------------------
543 cholmod_l_rowadd.o: ../Modify/cholmod_rowadd.c
544 - $(C) -DDLONG -c $(I) $< -o $@
545 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
547 cholmod_l_rowdel.o: ../Modify/cholmod_rowdel.c
548 - $(C) -DDLONG -c $(I) $< -o $@
549 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
551 cholmod_l_updown.o: ../Modify/cholmod_updown.c \
552 ../Modify/t_cholmod_updown.c ../Modify/t_cholmod_updown_numkr.c
553 - $(C) -DDLONG -c $(I) $< -o $@
554 + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@
557 #-------------------------------------------------------------------------------
558 @@ -492,27 +496,27 @@
559 cholmod_super_numeric.o: ../Supernodal/cholmod_super_numeric.c \
560 ../GPU/t_cholmod_gpu.c \
561 ../Supernodal/t_cholmod_super_numeric.c
563 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
565 cholmod_super_symbolic.o: ../Supernodal/cholmod_super_symbolic.c
567 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
569 cholmod_super_solve.o: ../Supernodal/cholmod_super_solve.c \
570 ../Supernodal/t_cholmod_super_solve.c
572 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
574 #-------------------------------------------------------------------------------
576 cholmod_l_super_numeric.o: ../Supernodal/cholmod_super_numeric.c \
577 ../Supernodal/t_cholmod_super_numeric.c
578 - $(C) -DDLONG -c $(I) $< -o $@
579 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
581 cholmod_l_super_symbolic.o: ../Supernodal/cholmod_super_symbolic.c
582 - $(C) -DDLONG -c $(I) $< -o $@
583 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
585 cholmod_l_super_solve.o: ../Supernodal/cholmod_super_solve.c \
586 ../Supernodal/t_cholmod_super_solve.c
587 - $(C) -DDLONG -c $(I) $< -o $@
588 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@
590 #-------------------------------------------------------------------------------
592 @@ -525,12 +529,12 @@
594 cholmod_gpu_kernels.o: ../GPU/cholmod_gpu_kernels.c \
595 ../GPU/cholmod_gpu_kernels.cu
597 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
598 $(NVCC) -I../../SuiteSparse_config -Xcompiler -fPIC -O3 -gencode=arch=compute_20,code=sm_20 -gencode=arch=compute_30,code=sm_30 -gencode=arch=compute_35,code=sm_35 -c ../GPU/cholmod_gpu_kernels.cu
600 cholmod_gpu.o: ../GPU/cholmod_gpu.c
602 + libtool --tag=CC --mode=compile $(C) -c $(I) $<
604 cholmod_l_gpu.o: ../GPU/cholmod_gpu.c
605 - $(C) -DDLONG -c $(I) $< -o $@
606 + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@