SCM

SCM Repository

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

Diff of /pkg/src/Makefile

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

revision 463, Sat Jan 29 14:11:34 2005 UTC revision 525, Mon Feb 7 10:49:20 2005 UTC
# Line 8  Line 8 
8  SHLIB = $(pkg)$(SHLIB_EXT)  SHLIB = $(pkg)$(SHLIB_EXT)
9  SUBDIRS = Metis  SUBDIRS = Metis
10  SUBLIBS = $(SUBDIRS:=.a)  SUBLIBS = $(SUBDIRS:=.a)
11    SUBSTAMP = $(SUBDIRS:=.stamp)
12    
13  $(SHLIB): $(OBJECTS) $(SUBLIBS)  $(SHLIB): $(OBJECTS) $(SUBLIBS)
14          $(SHLIB_LINK) -o $@ $(OBJECTS) $(SUBLIBS) $(ALL_LIBS)          $(SHLIB_LINK) -o $@ $(OBJECTS) $(SUBLIBS) $(ALL_LIBS)
# Line 16  Line 17 
17    
18  mostlyclean: clean  mostlyclean: clean
19    
20  $(SUBLIBS):  $(SUBLIBS): $(SUBSTAMP)
21          @for d in $(SUBDIRS); do \          @for d in $(SUBDIRS); do \
22            (cd $${d} && $(MAKE) lib) || exit 1; \            (cd $${d} && $(MAKE) lib) || exit 1; \
23              touch $${d}.stamp; \
24          done          done
25    
26  clean:  clean:
# Line 26  Line 28 
28          @-rm -f *.o *.so *.a          @-rm -f *.o *.so *.a
29          @for d in $(SUBDIRS); do \          @for d in $(SUBDIRS); do \
30            (cd $${d} && $(MAKE) clean) || exit 1; \            (cd $${d} && $(MAKE) clean) || exit 1; \
31              rm -f $${d}.stamp; \
32          done          done
33    
34  include DEPS.mkf  include DEPS.mkf

Legend:
Removed from v.463  
changed lines
  Added in v.525

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