SCM

SCM Repository

[matrix] Annotation of /pkg/Matrix/src/Makevars
ViewVC logotype

Annotation of /pkg/Matrix/src/Makevars

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2289 - (view) (download)
Original Path: pkg/src/Makevars

1 : mmaechler 2289 # -*- Makefile -*-
2 :    
3 :     PKG_CPPFLAGS = -I./UFconfig
4 :     ## we use the BLAS and the LAPACK library:
5 :     PKG_LIBS = $(SUBLIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
6 :    
7 :     MkInclude = $(R_HOME)/etc${R_ARCH}/Makeconf
8 :    
9 :     include SOURCES_C.mkf
10 :    
11 :     OBJECTS = $(SOURCES_C:.c=.o)
12 :     SUBDIRS = SPQR CHOLMOD COLAMD AMD
13 :     SUBLIBS = $(SUBDIRS:=.a)
14 :    
15 :     ## We have to clean here, to clean up between architectures
16 :     all: clean sublibs $(SHLIB)
17 :    
18 :     sublibs:
19 :     @for d in $(SUBDIRS); do \
20 :     (cd $${d} && CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" MkInclude="$(MkInclude)" $(MAKE) library) || exit 1; \
21 :     done
22 :    
23 :     clean:
24 :     @-rm -rf .libs _libs
25 :     @-rm -f *.o $(SHLIB) *.a
26 :     @for d in $(SUBDIRS); do \
27 :     (cd $${d} && MkInclude="$(MkInclude)" $(MAKE) clean) || exit 1; \
28 :     done
29 :    
30 :     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