Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/Makefile

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

revision 2232 by niro, Fri Jan 10 16:35:37 2014 UTC revision 2233 by niro, Sat Jan 11 00:02:32 2014 UTC
# Line 18  endif Line 18  endif
18  INSTALLDIRS = $(SUBDIRS:%=install-%)  INSTALLDIRS = $(SUBDIRS:%=install-%)
19  CLEANDIRS = $(SUBDIRS:%=clean-%)  CLEANDIRS = $(SUBDIRS:%=clean-%)
20    
21    all: $(SUBDIRS)
22    
23    install: $(INSTALLDIRS)
24    
25    clean: $(CLEANDIRS)
26    
27  $(SUBDIRS):  $(SUBDIRS):
28   $(MAKE) -C $@   $(MAKE) -C $@
29    
# Line 27  $(INSTALLDIRS): Line 33  $(INSTALLDIRS):
33  $(CLEANDIRS):  $(CLEANDIRS):
34   $(MAKE) -C $(@:clean-%=%) clean   $(MAKE) -C $(@:clean-%=%) clean
35    
 subdirs: $(SUBDIRS)  
   
 all: $(SUBDIRS)  
   
 install: $(INSTALLDIRS) all  
   
 clean: $(CLEANDIRS)  
36    
37  .PHONY: subdirs $(SUBDIRS)  .PHONY: $(SUBDIRS)
38  .PHONY: subdirs $(INSTALLDIRS)  .PHONY: $(INSTALLDIRS)
39  .PHONY: subdirs $(CLEANDIRS)  .PHONY: $(CLEANDIRS)
40  .PHONY: all install clean  .PHONY: all install clean

Legend:
Removed from v.2232  
changed lines
  Added in v.2233