Revision 1e790220feb1cb3f461915da11954d8b7fcb4c6b authored by Martin Maechler on 23 December 2013, 00:00:00 UTC, committed by Gabor Csardi on 23 December 2013, 00:00:00 UTC
1 parent d1f70fa
Makevars
# -*- Makefile -*-
PKG_CPPFLAGS = -DNTIMER -I./SuiteSparse_config
## we use the BLAS and the LAPACK library:
PKG_LIBS = $(SUBLIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
MkInclude = $(R_HOME)/etc${R_ARCH}/Makeconf
include scripts/SOURCES_C.mkf
OBJECTS = $(SOURCES_C:.c=.o)
SUBDIRS = CHOLMOD COLAMD AMD SuiteSparse_config
SUBLIBS = $(SUBDIRS:=.a)
all: $(SHLIB)
## making src/*.o and in sublibs can be done simultaneously
# for development:
#$(SHLIB): $(OBJECTS) sublibraries
# for real:
$(SHLIB): $(OBJECTS) sublibs
## We have to clean here, to clean up between architectures:
## INSTALL only cleans src/*.o src/*$(SHLIB_EXT) for each arch
sublibs: subclean sublibraries
sublibraries: subclean
@for d in $(SUBDIRS); do \
(cd $${d} && CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" MkInclude="$(MkInclude)" $(MAKE) library) || exit 1; \
done
clean: subclean
@-rm -rf .libs _libs
@-rm -f *.o $(SHLIB)
subclean:
@-rm -f *.a
@for d in $(SUBDIRS); do \
(cd $${d} && MkInclude="$(MkInclude)" $(MAKE) clean) || exit 1; \
done
include scripts/DEPS.mkf
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...