SCM

SCM Repository

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

Annotation of /pkg/src/Makefile.win

Parent Directory Parent Directory | Revision Log Revision Log


Revision 354 - (view) (download)

1 : bates 10 #
2 :     include $(RHOME)/src/gnuwin32/MkRules
3 :     BLAS_LIBS=-lRblas
4 :     LAPACK_LIBS=-L$(RHOME)/lib -lRlapack
5 :     CPPFLAGS=$(PKG_CPPFLAGS) -I$(RHOME)/src/include
6 :     CFLAGS=$(CPPFLAGS) $(DEBUGFLAG) -O2 $(PKG_CFLAGS)
7 :     CXXFLAGS=$(CPPFLAGS) $(DEBUGFLAG) -O2 $(PKG_CXXFLAGS)
8 :    
9 :     DLLLIBS=-L$(RHOME)/src/gnuwin32 $(PKG_LIBS) $(FLIBS) -lR
10 :    
11 :     pkg = Matrix
12 :    
13 :     PKG_CFLAGS = -I./Metis
14 : bates 71 PKG_LIBS = ${LAPACK_LIBS} ${BLAS_LIBS}
15 : bates 329 include SOURCES_C.mkf
16 : bates 10 OBJECTS = $(SOURCES_C:.c=.o)
17 : bates 71 SHLIB = $(pkg)$(SHLIB_EXT)
18 : bates 257 SUBDIRS = Metis
19 : bates 71 SUBLIBS = $(SUBDIRS:=.a)
20 : bates 10
21 :     $(SHLIB): $(OBJECTS) $(SUBLIBS)
22 : bates 111 gcc --shared -s -o Matrix.dll $(OBJECTS) $(SUBLIBS) $(ALL_LIBS) $(DLLLIBS)
23 : bates 10
24 :     all: $(SHLIB)
25 :    
26 :     mostlyclean: clean
27 :    
28 :     $(SUBLIBS):
29 :     @for d in $(SUBDIRS); do \
30 :     (cd $${d} && $(MAKE) -f Makefile.win lib) || exit 1; \
31 :     done
32 :    
33 :     clean:
34 :     @-rm -rf .libs _libs
35 :     @-rm -f *.o
36 : bates 71
37 : bates 354 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