SCM

SCM Repository

[matrix] View of /pkg/src/Makefile.win
ViewVC logotype

View of /pkg/src/Makefile.win

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (download) (annotate)
Mon Mar 22 20:20:05 2004 UTC (15 years, 3 months ago) by bates
File size: 1252 byte(s)
Initial import
#
include $(RHOME)/src/gnuwin32/MkRules
BLAS_LIBS=-lRblas
LAPACK_LIBS=-L$(RHOME)/lib -lRlapack
CPPFLAGS=$(PKG_CPPFLAGS) -I$(RHOME)/src/include
CFLAGS=$(CPPFLAGS) $(DEBUGFLAG) -O2 $(PKG_CFLAGS)
CXXFLAGS=$(CPPFLAGS) $(DEBUGFLAG) -O2 $(PKG_CXXFLAGS)

DLLLIBS=-L$(RHOME)/src/gnuwin32 $(PKG_LIBS) $(FLIBS) -lR 

pkg = Matrix

PKG_CFLAGS = -I./Metis
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS)
SOURCES_C =  \
	    LU.c \
            Mutils.c \
	    Metis_utils.c\
            cscMatrix.c \
            dense.c \
            factorizations.c \
            geMatrix.c \
	    ldl.c \
	    pdDiag.c \
	    pdIdent.c \
	    pdLogChol.c \
	    pdMat.c \
	    pdNatural.c \
            poMatrix.c \
            sscCrosstab.c \
            sscMatrix.c \
            ssclme.c \
            syMatrix.c \
            trMatrix.c \
            triplet.c \
            tscMatrix.c \
            taucs_utils.c \
            # flame.c
OBJECTS = $(SOURCES_C:.c=.o)
SHLIB = Matrix.dll
SUBDIRS = Metis taucs umfpack
SUBLIBS = $(addsuffix .a,$(SUBDIRS))


$(SHLIB): $(OBJECTS) $(SUBLIBS)

all: $(SHLIB)

mostlyclean: clean

$(SUBLIBS): 
	@for d in $(SUBDIRS); do \
	  (cd $${d} && $(MAKE) -f Makefile.win lib) || exit 1; \
	done
	ranlib $@

clean:
	@-rm -rf .libs _libs
	@-rm -f *.o

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