10 lines
192 B
Makefile
10 lines
192 B
Makefile
|
define TOOLS_TEMPLATE
|
||
|
|
||
|
$(1) = $$(addprefix $$(TOOLS_DIR)/, $$(shell echo -n $(1) | tr A-Z a-z))
|
||
|
|
||
|
endef
|
||
|
|
||
|
TOOLS = GIT-VERSION
|
||
|
|
||
|
$(foreach tool, $(TOOLS), $(eval $(call TOOLS_TEMPLATE, $(tool))))
|