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