SCM Repository
[matrix] / pkg / src / Makefile.win |
View of /pkg/src/Makefile.win
Parent Directory
|
Revision Log
Revision 1158 -
(download)
(annotate)
Fri Jan 13 13:13:09 2006 UTC (13 years, 10 months ago) by maechler
File size: 1152 byte(s)
Fri Jan 13 13:13:09 2006 UTC (13 years, 10 months ago) by maechler
File size: 1152 byte(s)
Linking change for R-devel (windows), thanks to BDR
# -*- Makefile -*- for Windows PKG_HOME=$(shell $(RHOME)/src/gnuwin32/Rpwd.exe .) MkInclude=$(PKG_HOME)/Win.mk include Win.mk # |-> gnuwin32/MkRules BLAS_LIBS=-lRblas LAPACK_LIBS=-L$(RHOME)/src/gnuwin32 -L$(RHOME)/lib -lRlapack CPPFLAGS=$(PKG_CPPFLAGS) -I$(RHOME)/include CFLAGS=$(CPPFLAGS) $(DEBUGFLAG) -O2 $(PKG_CFLAGS) CXXFLAGS=$(CPPFLAGS) $(DEBUGFLAG) -O2 $(PKG_CXXFLAGS) DLLLIBS= $(PKG_LIBS) $(FLIBS) -lR pkg = Matrix PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) include SOURCES_C.mkf ## zherk.f is part of BLAS, but not of R's BLAS sources SOURCES_F = zpotf2.f zpotrf.f zherk.f OBJECTS = $(SOURCES_C:.c=.o) $(SOURCES_F:.f=.o) SHLIB = $(pkg).dll SUBDIRS = CHOLMOD UMFPACK COLAMD CCOLAMD AMD Metis LDL SUBLIBS = $(SUBDIRS:=.a) SUBSTAMP = $(SUBDIRS:=.stamp) $(SHLIB): $(OBJECTS) $(SUBLIBS) $(DLL) --shared -s -o $@ $(OBJECTS) $(SUBLIBS) $(DLLLIBS) all: $(SHLIB) mostlyclean: clean $(SUBLIBS): @for d in $(SUBDIRS); do \ (cd $${d} && MkInclude=$(MkInclude) $(MAKE) lib) || exit 1; \ done clean: @-rm -rf .libs _libs @-rm -f *.o *.dll @for d in $(SUBDIRS); do \ (cd $${d} && $(MAKE) clean) || exit 1; \ done include DEPS.mkf
root@r-forge.r-project.org | ViewVC Help |
Powered by ViewVC 1.0.0 |