Check In tool source code based on Build tool project revision r1655.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8964 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
23
BaseTools/GNUmakefile
Normal file
23
BaseTools/GNUmakefile
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
all: subdirs
|
||||
|
||||
LANGUAGES = C Python
|
||||
|
||||
SOURCE_SUBDIRS := $(patsubst %,Source/%,$(sort $(LANGUAGES)))
|
||||
SUBDIRS := $(SOURCE_SUBDIRS) Tests
|
||||
CLEAN_SUBDIRS := $(patsubst %,%-clean,$(sort $(SUBDIRS)))
|
||||
|
||||
.PHONY: subdirs $(SUBDIRS)
|
||||
subdirs: $(SUBDIRS)
|
||||
$(SUBDIRS):
|
||||
$(MAKE) -C $@
|
||||
|
||||
.PHONY: $(CLEAN_SUBDIRS)
|
||||
$(CLEAN_SUBDIRS):
|
||||
-$(MAKE) -C $(@:-clean=) clean
|
||||
|
||||
clean: $(CLEAN_SUBDIRS)
|
||||
|
||||
test:
|
||||
@$(MAKE) -C Tests
|
||||
|
Reference in New Issue
Block a user