Optimize Makefile.
Don't do recursive makes for COMPARE and MODERN, use minimal makefile for making tools.
This commit is contained in:
1 parent
9da2142a39
commit
a839463c84
2 files changed
+35
-15
No files matched your search
@@ -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 $@
|
||||
Reference in new issue
Block a user