]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/GNUmakefile
Sync tool code to BuildTools project r1783.
[mirror_edk2.git] / BaseTools / GNUmakefile
CommitLineData
30fdf114
LG
1
2all: subdirs
3
4LANGUAGES = C Python
5
6SOURCE_SUBDIRS := $(patsubst %,Source/%,$(sort $(LANGUAGES)))
7SUBDIRS := $(SOURCE_SUBDIRS) Tests
8CLEAN_SUBDIRS := $(patsubst %,%-clean,$(sort $(SUBDIRS)))
9
10.PHONY: subdirs $(SUBDIRS)
11subdirs: $(SUBDIRS)
12$(SUBDIRS):
13 $(MAKE) -C $@
14
15.PHONY: $(CLEAN_SUBDIRS)
16$(CLEAN_SUBDIRS):
17 -$(MAKE) -C $(@:-clean=) clean
18
19clean: $(CLEAN_SUBDIRS)
20
21test:
22 @$(MAKE) -C Tests
23