SCM

SCM Repository

[matrix] Annotation of /branches/Matrix-mer2/src/Makefile
ViewVC logotype

Annotation of /branches/Matrix-mer2/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 967 - (view) (download)
Original Path: pkg/src/Makefile

1 : bates 10 #
2 :     pkg = Matrix
3 :    
4 : bates 921 PKG_CFLAGS = -DUSE_CHOLMOD
5 : bates 10 PKG_LIBS = ${LAPACK_LIBS} ${BLAS_LIBS}
6 : bates 329 include SOURCES_C.mkf
7 : bates 967 SOURCES_F = zpotf2.f zpotrf.f
8 :     OBJECTS = $(SOURCES_C:.c=.o) $(SOURCES_F:.f=.o)
9 : bates 10 SHLIB = $(pkg)$(SHLIB_EXT)
10 : bates 912 SUBDIRS = CHOLMOD UMFPACK Metis AMD COLAMD LDL CCOLAMD
11 : bates 10 SUBLIBS = $(SUBDIRS:=.a)
12 : bates 525 SUBSTAMP = $(SUBDIRS:=.stamp)
13 : bates 10
14 :     $(SHLIB): $(OBJECTS) $(SUBLIBS)
15 :     $(SHLIB_LINK) -o $@ $(OBJECTS) $(SUBLIBS) $(ALL_LIBS)
16 :    
17 :     all: $(SHLIB)
18 :    
19 :     mostlyclean: clean
20 :    
21 : bates 525 $(SUBLIBS): $(SUBSTAMP)
22 : bates 10 @for d in $(SUBDIRS); do \
23 :     (cd $${d} && $(MAKE) lib) || exit 1; \
24 : bates 525 touch $${d}.stamp; \
25 : bates 10 done
26 :    
27 : maechler 956 $(SUBSTAMP):
28 : bates 531 touch $(SUBSTAMP)
29 :    
30 : bates 10 clean:
31 :     @-rm -rf .libs _libs
32 : maechler 956 @-rm -f *.o *.so *.a $(SUBSTAMP)
33 : bates 448 @for d in $(SUBDIRS); do \
34 :     (cd $${d} && $(MAKE) clean) || exit 1; \
35 : bates 525 rm -f $${d}.stamp; \
36 : bates 448 done
37 : bates 10
38 : bates 354 include DEPS.mkf

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge