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