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