Magellan Linux

Annotation of /mcore-src/trunk/mcore-tools/dracut/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2333 - (hide annotations) (download)
Fri Jul 11 14:08:20 2014 UTC (9 years, 10 months ago) by niro
File size: 418 byte(s)
-add subdir Makefile
1 niro 2333 # $Id$
2    
3     include ../Makefile.inc
4    
5     SUBDIRS = mcored mcored-citrix
6    
7     INSTALLDIRS = $(SUBDIRS:%=install-%)
8     CLEANDIRS = $(SUBDIRS:%=clean-%)
9    
10     all: $(SUBDIRS)
11    
12     install: $(INSTALLDIRS)
13    
14     clean: $(CLEANDIRS)
15    
16     $(SUBDIRS):
17     $(MAKE) -C $@
18    
19     $(INSTALLDIRS):
20     $(MAKE) -C $(@:install-%=%) install
21    
22     $(CLEANDIRS):
23     $(MAKE) -C $(@:clean-%=%) clean
24    
25     .PHONY: $(SUBDIRS)
26     .PHONY: $(INSTALLDIRS)
27     .PHONY: $(CLEANDIRS)
28     .PHONY: all install clean