SCM

SCM Repository

[matrix] Diff of /branches/Matrix-mer2/src/Makefile.win
ViewVC logotype

Diff of /branches/Matrix-mer2/src/Makefile.win

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1027, Tue Nov 8 23:13:17 2005 UTC revision 1028, Tue Nov 8 23:53:35 2005 UTC
# Line 1  Line 1 
1  # -*- Makefile -*- for Windows  # -*- Makefile -*- for Windows
2  include $(RHOME)/src/gnuwin32/MkRules  MkInclude=$(RHOME)/src/gnuwin32/MkRules
3    
4    include $(MkInclude)
5  BLAS_LIBS=-lRblas  BLAS_LIBS=-lRblas
6  LAPACK_LIBS=-L$(RHOME)/lib -lRlapack  LAPACK_LIBS=-L$(RHOME)/lib -lRlapack
7  CPPFLAGS=$(PKG_CPPFLAGS) -I$(RHOME)/include  CPPFLAGS=$(PKG_CPPFLAGS) -I$(RHOME)/include
8  CFLAGS=$(CPPFLAGS) $(DEBUGFLAG) -O2 $(PKG_CFLAGS)  CFLAGS=$(CPPFLAGS) $(DEBUGFLAG) -O2 $(PKG_CFLAGS)
9  CXXFLAGS=$(CPPFLAGS) $(DEBUGFLAG) -O2 $(PKG_CXXFLAGS)  CXXFLAGS=$(CPPFLAGS) $(DEBUGFLAG) -O2 $(PKG_CXXFLAGS)
10    
11  DLLLIBS=-L$(RHOME)/src/gnuwin32 $(PKG_LIBS) $(FLIBS) -lR  DLLLIBS= $(PKG_LIBS) $(FLIBS) -lR
12    
13  pkg = Matrix  pkg = Matrix
14    
15  PKG_CFLAGS = -DUSE_CHOLMOD  PKG_CFLAGS = -DUSE_CHOLMOD
16  PKG_LIBS = ${LAPACK_LIBS} ${BLAS_LIBS}  PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS)
17  include SOURCES_C.mkf  include SOURCES_C.mkf
18  OBJECTS = $(SOURCES_C:.c=.o)  
19    ## zherk.f is part of BLAS, but not of R's BLAS sources
20    SOURCES_F = zpotf2.f zpotrf.f zherk.f
21    
22    OBJECTS = $(SOURCES_C:.c=.o) $(SOURCES_F:.f=.o)
23  SHLIB = $(pkg)$(SHLIB_EXT)  SHLIB = $(pkg)$(SHLIB_EXT)
24  SUBDIRS = CHOLMOD UMFPACK Metis AMD COLAMD LDL CCOLAMD  SUBDIRS = CHOLMOD UMFPACK Metis AMD COLAMD LDL CCOLAMD
25  SUBLIBS = $(SUBDIRS:=.a)  SUBLIBS = $(SUBDIRS:=.a)
# Line 28  Line 34 
34    
35  $(SUBLIBS):  $(SUBLIBS):
36          @for d in $(SUBDIRS); do \          @for d in $(SUBDIRS); do \
37            (cd $${d} && $(MAKE) -f Makefile.win lib) || exit 1; \            (cd $${d} && MkInclude=$(RHOME)/src/gnuwin32/MkRules $(MAKE) lib) || exit 1; \
38          done          done
39    
40  clean:  clean:

Legend:
Removed from v.1027  
changed lines
  Added in v.1028

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