SCM

SCM Repository

[matrix] Annotation of /pkg/src/Makefile
ViewVC logotype

Annotation of /pkg/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 917 - (view) (download)

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