SCM

SCM Repository

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

View of /pkg/Matrix/src/Makevars

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2289 - (download) (annotate)
Wed Oct 15 08:08:57 2008 UTC (11 years, 1 month ago) by mmaechler
Original Path: pkg/src/Makevars
File size: 730 byte(s)
"Makevars instead of Makefile (w/o configure)"
# -*- Makefile -*-

PKG_CPPFLAGS = -I./UFconfig
## we use the BLAS and the LAPACK library:
PKG_LIBS = $(SUBLIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)

MkInclude = $(R_HOME)/etc${R_ARCH}/Makeconf

include SOURCES_C.mkf

OBJECTS = $(SOURCES_C:.c=.o)
SUBDIRS = SPQR CHOLMOD COLAMD AMD
SUBLIBS = $(SUBDIRS:=.a)

## We have to clean here, to clean up between architectures
all: clean sublibs $(SHLIB)

sublibs:
	@for d in $(SUBDIRS); do \
	  (cd $${d} && CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" MkInclude="$(MkInclude)" $(MAKE) library) || exit 1; \
	done

clean:
	@-rm -rf .libs _libs
	@-rm -f *.o $(SHLIB) *.a
	@for d in $(SUBDIRS); do \
	  (cd $${d} && MkInclude="$(MkInclude)" $(MAKE) clean) || exit 1; \
	done

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