http://git.etherboot.org
/
people
/
mcb30
/
basetools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added for database based build infrastructure
[people/mcb30/basetools.git]
/
GNUmakefile
1
2
all: subdirs
3
4
LANGUAGES = C Python
5
6
SUBDIRS := $(patsubst %,Source/%,$(sort $(LANGUAGES)))
7
CLEAN_SUBDIRS := $(patsubst %,%-clean,$(sort $(SUBDIRS)))
8
9
.PHONY: subdirs $(SUBDIRS)
10
subdirs: $(SUBDIRS)
11
$(SUBDIRS):
12
$(MAKE) -C $@
13
14
.PHONY: $(CLEAN_SUBDIRS)
15
$(CLEAN_SUBDIRS):
16
-$(MAKE) -C $(@:-clean=) clean
17
18
clean: $(CLEAN_SUBDIRS)
19