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 525 - (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 : bates 525 SUBSTAMP = $(SUBDIRS:=.stamp)
12 : bates 10
13 :     $(SHLIB): $(OBJECTS) $(SUBLIBS)
14 :     $(SHLIB_LINK) -o $@ $(OBJECTS) $(SUBLIBS) $(ALL_LIBS)
15 :    
16 :     all: $(SHLIB)
17 :    
18 :     mostlyclean: clean
19 :    
20 : bates 525 $(SUBLIBS): $(SUBSTAMP)
21 : bates 10 @for d in $(SUBDIRS); do \
22 :     (cd $${d} && $(MAKE) lib) || exit 1; \
23 : bates 525 touch $${d}.stamp; \
24 : bates 10 done
25 :    
26 :     clean:
27 :     @-rm -rf .libs _libs
28 : bates 463 @-rm -f *.o *.so *.a
29 : bates 448 @for d in $(SUBDIRS); do \
30 :     (cd $${d} && $(MAKE) clean) || exit 1; \
31 : bates 525 rm -f $${d}.stamp; \
32 : bates 448 done
33 : bates 10
34 : 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