]>
Commit | Line | Data |
---|---|---|
ccb80968 JB |
1 | --- CHOLMOD/Demo/Makefile.orig 2012-08-28 19:15:59.367085674 +0200 |
2 | +++ CHOLMOD/Demo/Makefile 2012-08-28 19:27:39.750404409 +0200 | |
3 | @@ -16,24 +16,17 @@ | |
4 | CONFIG = -DNPARTITION | |
5 | # check if METIS is requested and available | |
9f39e7e6 | 6 | ifeq (,$(findstring -DNPARTITION, $(CHOLMOD_CONFIG))) |
ccb80968 JB |
7 | - # METIS is requested. See if it is available |
8 | - ifeq ($(METIS_PATH), $(wildcard $(METIS_PATH))) | |
9 | - ifeq (../../CAMD, $(wildcard ../../CAMD)) | |
10 | - ifeq (../../CCOLAMD, $(wildcard ../../CCOLAMD)) | |
11 | - # METIS, CAMD, and CCOLAMD are available | |
12 | - LIB_WITH_PARTITION = $(METIS) ../../CCOLAMD/Lib/libccolamd.a \ | |
13 | - ../../CAMD/Lib/libcamd.a | |
14 | - I_WITH_PARTITION = -I$(METIS_PATH)/Lib \ | |
15 | - -I../../CCOLAMD/Include -I../../CAMD/Include | |
16 | + # METIS is requested. | |
9f39e7e6 | 17 | + ifeq ($(WITH_METIS), 1) |
ccb80968 JB |
18 | + LIB_WITH_PARTITION = -lmetis -lccolamd -lcamd |
19 | + I_WITH_PARTITION = -I/usr/include/metis \ | |
20 | + -I/usr/include/ccolamd -I/usr/include/camd | |
21 | CONFIG = | |
22 | - endif | |
23 | - endif | |
24 | endif | |
9f39e7e6 | 25 | endif |
ba82e1c6 JR |
26 | #------------------------------------------------------------------------------- |
27 | ||
9f39e7e6 | 28 | -LIB2 = ../Lib/libcholmod.a ../../AMD/Lib/libamd.a ../../COLAMD/Lib/libcolamd.a \ |
fe7d741a JB |
29 | - ../../SuiteSparse_config/libsuitesparseconfig.a \ |
30 | +LIB2 = ../Lib/libcholmod.la -lamd -lcolamd \ | |
9f39e7e6 | 31 | $(LIB_WITH_PARTITION) $(LAPACK) $(BLAS) $(XERBLA) $(LIB) |
ba82e1c6 JR |
32 | |
33 | #------------------------------------------------------------------------------- | |
ccb80968 | 34 | @@ -75,35 +68,25 @@ |
9f39e7e6 JB |
35 | #------------------------------------------------------------------------------- |
36 | # See below if you compile with -DNPARTITION | |
ba82e1c6 | 37 | library: |
fe7d741a JB |
38 | - ( cd ../../SuiteSparse_config/xerbla ; $(MAKE) ) |
39 | - ( cd ../../SuiteSparse_config ; $(MAKE) ) | |
ba82e1c6 JR |
40 | ( cd ../Lib ; $(MAKE) ) |
41 | - ( cd ../../AMD ; $(MAKE) library ) | |
ba82e1c6 | 42 | - ( cd ../../COLAMD ; $(MAKE) library ) |
ccb80968 | 43 | -ifneq (,$(findstring -DNPARTITION, $(CONFIG))) |
9f39e7e6 | 44 | -else |
ba82e1c6 | 45 | - ( cd ../../CCOLAMD ; $(MAKE) library ) |
9f39e7e6 | 46 | - ( cd ../../CAMD ; $(MAKE) library ) |
ccb80968 | 47 | - ( cd $(METIS_PATH) && $(MAKE) ) |
9f39e7e6 | 48 | -endif |
ba82e1c6 JR |
49 | #------------------------------------------------------------------------------- |
50 | ||
51 | I = -I../Include | |
52 | ||
53 | cholmod_demo: library cholmod_demo.c cholmod_demo.h | |
54 | - $(C) -o cholmod_demo $(I) cholmod_demo.c $(LIB2) | |
9f39e7e6 | 55 | + libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o cholmod_demo $(I) cholmod_demo.c $(LIB2) |
ba82e1c6 JR |
56 | |
57 | cholmod_simple: library cholmod_simple.c | |
58 | - $(C) -o cholmod_simple $(I) cholmod_simple.c $(LIB2) | |
9f39e7e6 | 59 | + libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o cholmod_simple $(I) cholmod_simple.c $(LIB2) |
ba82e1c6 JR |
60 | |
61 | cholmod_l_demo: library cholmod_l_demo.c cholmod_demo.h | |
62 | - $(C) -o cholmod_l_demo $(I) cholmod_l_demo.c $(LIB2) | |
9f39e7e6 | 63 | + libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o cholmod_l_demo $(I) cholmod_l_demo.c $(LIB2) |
ba82e1c6 JR |
64 | |
65 | readhb: readhb.f | |
ccb80968 JB |
66 | - $(F77) $(FFLAGS) -o readhb readhb.f |
67 | + $(F77) $(LDFLAGS) $(FFLAGS) -o readhb readhb.f | |
68 | ||
69 | readhb2: readhb2.f | |
70 | - $(F77) $(FFLAGS) -O -o readhb2 readhb2.f | |
71 | + $(F77) $(LDFLAGS) $(FFLAGS) -O -o readhb2 readhb2.f | |
72 | ||
73 | reade: reade.f | |
74 | - $(F77) $(FFLAGS) -O -o reade reade.f | |
75 | + $(F77) $(LDFLAGS) $(FFLAGS) -O -o reade reade.f | |
76 | --- CHOLMOD/Lib/Makefile.orig 2012-08-28 19:15:59.367085674 +0200 | |
77 | +++ CHOLMOD/Lib/Makefile 2012-08-28 19:15:59.397085673 +0200 | |
78 | @@ -33,14 +33,14 @@ | |
9f39e7e6 JB |
79 | |
80 | C = $(CC) $(CF) $(CHOLMOD_CONFIG) $(CONFIG) | |
ba82e1c6 JR |
81 | |
82 | -all: libcholmod.a | |
83 | +all: libcholmod.la | |
84 | ||
85 | -library: libcholmod.a | |
86 | +library: libcholmod.la | |
87 | ||
88 | purge: distclean | |
89 | ||
90 | distclean: clean | |
91 | - - $(RM) libcholmod.a | |
92 | + - $(RM) libcholmod.la | |
93 | ||
94 | clean: | |
95 | - $(RM) $(CLEAN) | |
ccb80968 | 96 | @@ -132,9 +132,13 @@ |
ba82e1c6 JR |
97 | # to compile just the double/int version, use OBJ = $(DI) |
98 | OBJ = $(DI) $(DL) | |
99 | ||
100 | -libcholmod.a: $(OBJ) | |
9f39e7e6 JB |
101 | - $(ARCHIVE) libcholmod.a $(OBJ) |
102 | - - $(RANLIB) libcholmod.a | |
ba82e1c6 | 103 | +libcholmod.la: $(OBJ) |
57018fae | 104 | + libtool --tag=CC --mode=link $(CC) $(LDFLAGS) -o libcholmod.la -rpath $(libdir) $(OBJ:.o=.lo) -lm \ |
fe7d741a | 105 | + -lamd -lcolamd -lsuitesparseconfig $(LIB_WITH_PARTITION) $(LAPACK) $(BLAS) |
ba82e1c6 JR |
106 | + |
107 | +install: libcholmod.la | |
108 | + install -d $(DESTDIR)$(libdir) | |
109 | + libtool --mode=install cp libcholmod.la $(DESTDIR)$(libdir)/libcholmod.la | |
110 | ||
111 | $(OBJ): $(INC) | |
112 | ||
ccb80968 | 113 | @@ -143,24 +147,24 @@ |
ba82e1c6 JR |
114 | #------------------------------------------------------------------------------- |
115 | ||
116 | cholmod_check.o: ../Check/cholmod_check.c | |
117 | - $(C) -c $(I) $< | |
9f39e7e6 | 118 | + libtool --tag=CC --mode=compile $(C) -c $(I) $< |
ba82e1c6 JR |
119 | |
120 | cholmod_read.o: ../Check/cholmod_read.c | |
121 | - $(C) -c $(I) $< | |
9f39e7e6 | 122 | + libtool --tag=CC --mode=compile $(C) -c $(I) $< |
ba82e1c6 JR |
123 | |
124 | cholmod_write.o: ../Check/cholmod_write.c | |
125 | - $(C) -c $(I) $< | |
9f39e7e6 | 126 | + libtool --tag=CC --mode=compile $(C) -c $(I) $< |
ba82e1c6 JR |
127 | |
128 | #------------------------------------------------------------------------------- | |
129 | ||
130 | cholmod_l_check.o: ../Check/cholmod_check.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_read.o: ../Check/cholmod_read.c | |
135 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 136 | + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@ |
ba82e1c6 JR |
137 | |
138 | cholmod_l_write.o: ../Check/cholmod_write.c | |
139 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 140 | + libtool --tag=CC --mode=compile $(C) -DDLONG -c $(I) $< -o $@ |
ba82e1c6 JR |
141 | |
142 | ||
143 | #------------------------------------------------------------------------------- | |
ccb80968 | 144 | @@ -168,92 +172,92 @@ |
ba82e1c6 JR |
145 | #------------------------------------------------------------------------------- |
146 | ||
147 | cholmod_common.o: ../Core/cholmod_common.c | |
148 | - $(C) -c $(I) $< | |
9f39e7e6 | 149 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
150 | |
151 | cholmod_dense.o: ../Core/cholmod_dense.c ../Core/t_cholmod_dense.c | |
152 | - $(C) -c $(I) $< | |
9f39e7e6 | 153 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
154 | |
155 | cholmod_factor.o: ../Core/cholmod_factor.c | |
156 | - $(C) -c $(I) $< | |
9f39e7e6 | 157 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
158 | |
159 | cholmod_change_factor.o: ../Core/cholmod_change_factor.c \ | |
160 | ../Core/t_cholmod_change_factor.c | |
161 | - $(C) -c $(I) $< | |
9f39e7e6 | 162 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
163 | |
164 | cholmod_memory.o: ../Core/cholmod_memory.c | |
165 | - $(C) -c $(I) $< | |
9f39e7e6 | 166 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
167 | |
168 | cholmod_sparse.o: ../Core/cholmod_sparse.c | |
169 | - $(C) -c $(I) $< | |
9f39e7e6 | 170 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
171 | |
172 | cholmod_complex.o: ../Core/cholmod_complex.c | |
173 | - $(C) -c $(I) $< | |
9f39e7e6 | 174 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
175 | |
176 | cholmod_transpose.o: ../Core/cholmod_transpose.c ../Core/t_cholmod_transpose.c | |
177 | - $(C) -c $(I) $< | |
9f39e7e6 | 178 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
179 | |
180 | cholmod_band.o: ../Core/cholmod_band.c | |
181 | - $(C) -c $(I) $< | |
9f39e7e6 | 182 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
183 | |
184 | cholmod_copy.o: ../Core/cholmod_copy.c | |
185 | - $(C) -c $(I) $< | |
9f39e7e6 | 186 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
187 | |
188 | cholmod_triplet.o: ../Core/cholmod_triplet.c ../Core/t_cholmod_triplet.c | |
189 | - $(C) -c $(I) $< | |
9f39e7e6 | 190 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
191 | |
192 | cholmod_error.o: ../Core/cholmod_error.c | |
193 | - $(C) -c $(I) $< | |
9f39e7e6 | 194 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
195 | |
196 | cholmod_aat.o: ../Core/cholmod_aat.c | |
197 | - $(C) -c $(I) $< | |
9f39e7e6 | 198 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
199 | |
200 | cholmod_add.o: ../Core/cholmod_add.c | |
201 | - $(C) -c $(I) $< | |
9f39e7e6 | 202 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
203 | |
204 | #------------------------------------------------------------------------------- | |
205 | ||
206 | cholmod_l_common.o: ../Core/cholmod_common.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_dense.o: ../Core/cholmod_dense.c ../Core/t_cholmod_dense.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_factor.o: ../Core/cholmod_factor.c | |
215 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 216 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
217 | |
218 | cholmod_l_change_factor.o: ../Core/cholmod_change_factor.c \ | |
219 | ../Core/t_cholmod_change_factor.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_memory.o: ../Core/cholmod_memory.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_sparse.o: ../Core/cholmod_sparse.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_complex.o: ../Core/cholmod_complex.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_transpose.o: ../Core/cholmod_transpose.c ../Core/t_cholmod_transpose.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_band.o: ../Core/cholmod_band.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_copy.o: ../Core/cholmod_copy.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_triplet.o: ../Core/cholmod_triplet.c ../Core/t_cholmod_triplet.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_error.o: ../Core/cholmod_error.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_aat.o: ../Core/cholmod_aat.c | |
256 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 257 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
258 | |
259 | cholmod_l_add.o: ../Core/cholmod_add.c | |
260 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 261 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
262 | |
263 | ||
264 | #------------------------------------------------------------------------------- | |
ccb80968 | 265 | @@ -261,116 +265,116 @@ |
ba82e1c6 JR |
266 | #------------------------------------------------------------------------------- |
267 | ||
268 | cholmod_amd.o: ../Cholesky/cholmod_amd.c | |
269 | - $(C) -c $(I) $< | |
9f39e7e6 | 270 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
271 | |
272 | cholmod_analyze.o: ../Cholesky/cholmod_analyze.c | |
273 | - $(C) -c $(I) $< | |
9f39e7e6 | 274 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
275 | |
276 | cholmod_colamd.o: ../Cholesky/cholmod_colamd.c | |
277 | - $(C) -c $(I) $< | |
9f39e7e6 | 278 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
279 | |
280 | cholmod_etree.o: ../Cholesky/cholmod_etree.c | |
281 | - $(C) -c $(I) $< | |
9f39e7e6 | 282 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
283 | |
284 | cholmod_factorize.o: ../Cholesky/cholmod_factorize.c | |
285 | - $(C) -c $(I) $< | |
9f39e7e6 | 286 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
287 | |
288 | cholmod_postorder.o: ../Cholesky/cholmod_postorder.c | |
289 | - $(C) -c $(I) $< | |
9f39e7e6 | 290 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
291 | |
292 | cholmod_rcond.o: ../Cholesky/cholmod_rcond.c | |
293 | - $(C) -c $(I) $< | |
9f39e7e6 | 294 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
295 | |
296 | cholmod_resymbol.o: ../Cholesky/cholmod_resymbol.c | |
297 | - $(C) -c $(I) $< | |
9f39e7e6 | 298 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
299 | |
300 | cholmod_rowcolcounts.o: ../Cholesky/cholmod_rowcolcounts.c | |
301 | - $(C) -c $(I) $< | |
9f39e7e6 | 302 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
303 | |
304 | cholmod_solve.o: ../Cholesky/cholmod_solve.c ../Cholesky/t_cholmod_lsolve.c \ | |
305 | ../Cholesky/t_cholmod_ltsolve.c ../Cholesky/t_cholmod_solve.c | |
306 | - $(C) -c $(I) $< | |
9f39e7e6 | 307 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
308 | |
309 | cholmod_spsolve.o: ../Cholesky/cholmod_spsolve.c | |
310 | - $(C) -c $(I) $< | |
9f39e7e6 | 311 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
312 | |
313 | cholmod_rowfac.o: ../Cholesky/cholmod_rowfac.c ../Cholesky/t_cholmod_rowfac.c | |
314 | - $(C) -c $(I) $< | |
9f39e7e6 | 315 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
316 | |
317 | #------------------------------------------------------------------------------- | |
318 | ||
319 | cholmod_l_amd.o: ../Cholesky/cholmod_amd.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_analyze.o: ../Cholesky/cholmod_analyze.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_colamd.o: ../Cholesky/cholmod_colamd.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_etree.o: ../Cholesky/cholmod_etree.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_factorize.o: ../Cholesky/cholmod_factorize.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_postorder.o: ../Cholesky/cholmod_postorder.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_rcond.o: ../Cholesky/cholmod_rcond.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_resymbol.o: ../Cholesky/cholmod_resymbol.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_rowcolcounts.o: ../Cholesky/cholmod_rowcolcounts.c | |
352 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 353 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
354 | |
355 | cholmod_l_solve.o: ../Cholesky/cholmod_solve.c ../Cholesky/t_cholmod_lsolve.c \ | |
356 | ../Cholesky/t_cholmod_ltsolve.c ../Cholesky/t_cholmod_solve.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_spsolve.o: ../Cholesky/cholmod_spsolve.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_rowfac.o: ../Cholesky/cholmod_rowfac.c ../Cholesky/t_cholmod_rowfac.c | |
365 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 366 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
367 | |
368 | #------------------------------------------------------------------------------- | |
369 | # Partition Module: | |
370 | #------------------------------------------------------------------------------- | |
371 | ||
372 | cholmod_ccolamd.o: ../Partition/cholmod_ccolamd.c | |
373 | - $(C) -c $(I) $< | |
9f39e7e6 | 374 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
375 | |
376 | cholmod_csymamd.o: ../Partition/cholmod_csymamd.c | |
377 | - $(C) -c $(I) $< | |
9f39e7e6 | 378 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
379 | |
380 | cholmod_camd.o: ../Partition/cholmod_camd.c | |
381 | - $(C) -c $(I) $< | |
9f39e7e6 | 382 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
383 | |
384 | cholmod_metis.o: ../Partition/cholmod_metis.c | |
385 | - $(C) -c $(I) $< | |
9f39e7e6 | 386 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
387 | |
388 | cholmod_nesdis.o: ../Partition/cholmod_nesdis.c | |
389 | - $(C) -c $(I) $< | |
9f39e7e6 | 390 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
391 | |
392 | #------------------------------------------------------------------------------- | |
393 | ||
394 | cholmod_l_ccolamd.o: ../Partition/cholmod_ccolamd.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_csymamd.o: ../Partition/cholmod_csymamd.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_camd.o: ../Partition/cholmod_camd.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_metis.o: ../Partition/cholmod_metis.c | |
407 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 408 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
409 | |
410 | cholmod_l_nesdis.o: ../Partition/cholmod_nesdis.c | |
411 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 412 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
413 | |
414 | ||
415 | #------------------------------------------------------------------------------- | |
ccb80968 | 416 | @@ -378,88 +382,88 @@ |
ba82e1c6 JR |
417 | #------------------------------------------------------------------------------- |
418 | ||
419 | cholmod_horzcat.o: ../MatrixOps/cholmod_horzcat.c | |
420 | - $(C) -c $(I) $< | |
9f39e7e6 | 421 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
422 | |
423 | cholmod_norm.o: ../MatrixOps/cholmod_norm.c | |
424 | - $(C) -c $(I) $< | |
9f39e7e6 | 425 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
426 | |
427 | cholmod_scale.o: ../MatrixOps/cholmod_scale.c | |
428 | - $(C) -c $(I) $< | |
9f39e7e6 | 429 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
430 | |
431 | cholmod_drop.o: ../MatrixOps/cholmod_drop.c | |
432 | - $(C) -c $(I) $< | |
9f39e7e6 | 433 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
434 | |
435 | cholmod_sdmult.o: ../MatrixOps/cholmod_sdmult.c \ | |
436 | ../MatrixOps/t_cholmod_sdmult.c | |
437 | - $(C) -c $(I) $< | |
9f39e7e6 | 438 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
439 | |
440 | cholmod_ssmult.o: ../MatrixOps/cholmod_ssmult.c | |
441 | - $(C) -c $(I) $< | |
9f39e7e6 | 442 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
443 | |
444 | cholmod_submatrix.o: ../MatrixOps/cholmod_submatrix.c | |
445 | - $(C) -c $(I) $< | |
9f39e7e6 | 446 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
447 | |
448 | cholmod_vertcat.o: ../MatrixOps/cholmod_vertcat.c | |
449 | - $(C) -c $(I) $< | |
9f39e7e6 | 450 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
451 | |
452 | cholmod_symmetry.o: ../MatrixOps/cholmod_symmetry.c | |
453 | - $(C) -c $(I) $< | |
9f39e7e6 | 454 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
455 | |
456 | #------------------------------------------------------------------------------- | |
457 | ||
458 | cholmod_l_horzcat.o: ../MatrixOps/cholmod_horzcat.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_norm.o: ../MatrixOps/cholmod_norm.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_scale.o: ../MatrixOps/cholmod_scale.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_drop.o: ../MatrixOps/cholmod_drop.c | |
471 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 472 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
473 | |
474 | cholmod_l_sdmult.o: ../MatrixOps/cholmod_sdmult.c \ | |
475 | ../MatrixOps/t_cholmod_sdmult.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_ssmult.o: ../MatrixOps/cholmod_ssmult.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_submatrix.o: ../MatrixOps/cholmod_submatrix.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_vertcat.o: ../MatrixOps/cholmod_vertcat.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_symmetry.o: ../MatrixOps/cholmod_symmetry.c | |
492 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 493 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
494 | |
495 | #------------------------------------------------------------------------------- | |
496 | # Modify Module: | |
497 | #------------------------------------------------------------------------------- | |
498 | ||
499 | cholmod_rowadd.o: ../Modify/cholmod_rowadd.c | |
500 | - $(C) -c $(I) $< | |
9f39e7e6 | 501 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
502 | |
503 | cholmod_rowdel.o: ../Modify/cholmod_rowdel.c | |
504 | - $(C) -c $(I) $< | |
9f39e7e6 | 505 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
506 | |
507 | cholmod_updown.o: ../Modify/cholmod_updown.c \ | |
508 | ../Modify/t_cholmod_updown.c ../Modify/t_cholmod_updown_numkr.c | |
509 | - $(C) -c $(I) $< | |
9f39e7e6 | 510 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
511 | |
512 | #------------------------------------------------------------------------------- | |
513 | ||
514 | cholmod_l_rowadd.o: ../Modify/cholmod_rowadd.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_rowdel.o: ../Modify/cholmod_rowdel.c | |
519 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 520 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
521 | |
522 | cholmod_l_updown.o: ../Modify/cholmod_updown.c \ | |
523 | ../Modify/t_cholmod_updown.c ../Modify/t_cholmod_updown_numkr.c | |
524 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 525 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
526 | |
527 | ||
528 | #------------------------------------------------------------------------------- | |
ccb80968 | 529 | @@ -469,24 +473,24 @@ |
ba82e1c6 | 530 | cholmod_super_numeric.o: ../Supernodal/cholmod_super_numeric.c \ |
ccb80968 | 531 | ../Supernodal/t_cholmod_gpu.c \ |
ba82e1c6 JR |
532 | ../Supernodal/t_cholmod_super_numeric.c |
533 | - $(C) -c $(I) $< | |
9f39e7e6 | 534 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
535 | |
536 | cholmod_super_symbolic.o: ../Supernodal/cholmod_super_symbolic.c | |
537 | - $(C) -c $(I) $< | |
9f39e7e6 | 538 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
539 | |
540 | cholmod_super_solve.o: ../Supernodal/cholmod_super_solve.c \ | |
541 | ../Supernodal/t_cholmod_super_solve.c | |
542 | - $(C) -c $(I) $< | |
9f39e7e6 | 543 | + libtool --tag=CC --mode=compile $(C) $(I) -c $< |
ba82e1c6 JR |
544 | |
545 | #------------------------------------------------------------------------------- | |
546 | ||
547 | cholmod_l_super_numeric.o: ../Supernodal/cholmod_super_numeric.c \ | |
548 | ../Supernodal/t_cholmod_super_numeric.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_symbolic.o: ../Supernodal/cholmod_super_symbolic.c | |
553 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 554 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |
ba82e1c6 JR |
555 | |
556 | cholmod_l_super_solve.o: ../Supernodal/cholmod_super_solve.c \ | |
557 | ../Supernodal/t_cholmod_super_solve.c | |
558 | - $(C) -DDLONG -c $(I) $< -o $@ | |
9f39e7e6 | 559 | + libtool --tag=CC --mode=compile $(C) -DDLONG $(I) -c $< -o $@ |