diff options
Diffstat (limited to 'make_tools.mk')
-rw-r--r-- | make_tools.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/make_tools.mk b/make_tools.mk new file mode 100644 index 000000000..82a482bca --- /dev/null +++ b/make_tools.mk @@ -0,0 +1,12 @@ + +TOOLDIRS := $(filter-out tools/agbcc tools/binutils,$(wildcard tools/*)) +TOOLBASE = $(TOOLDIRS:tools/%=%) +TOOLS = $(foreach tool,$(TOOLBASE),tools/$(tool)/$(tool)$(EXE)) + +.PHONY: all $(TOOLDIRS) + +all: $(TOOLDIRS) + @: + +$(TOOLDIRS): + @$(MAKE) -C $@ |