SCM

SCM Repository

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

Annotation of /pkg/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 463 - (view) (download)

1 : bates 10 #
2 :     pkg = Matrix
3 :    
4 :     PKG_CFLAGS = -I./Metis
5 :     PKG_LIBS = ${LAPACK_LIBS} ${BLAS_LIBS}
6 : bates 329 include SOURCES_C.mkf
7 : bates 307 OBJECTS = $(SOURCES_C:.c=.o)
8 : bates 10 SHLIB = $(pkg)$(SHLIB_EXT)
9 : bates 257 SUBDIRS = Metis
10 : bates 10 SUBLIBS = $(SUBDIRS:=.a)
11 :    
12 :     $(SHLIB): $(OBJECTS) $(SUBLIBS)
13 :     $(SHLIB_LINK) -o $@ $(OBJECTS) $(SUBLIBS) $(ALL_LIBS)
14 :    
15 :     all: $(SHLIB)
16 :    
17 :     mostlyclean: clean
18 :    
19 :     $(SUBLIBS):
20 :     @for d in $(SUBDIRS); do \
21 :     (cd $${d} && $(MAKE) lib) || exit 1; \
22 :     done
23 :    
24 :     clean:
25 :     @-rm -rf .libs _libs
26 : bates 463 @-rm -f *.o *.so *.a
27 : bates 448 @for d in $(SUBDIRS); do \
28 :     (cd $${d} && $(MAKE) clean) || exit 1; \
29 :     done
30 : bates 10
31 : 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