StupidOS/tools/build.mk

10 lines
202 B
Makefile
Raw Normal View History

2023-01-15 19:25:25 +00:00
define TOOLS_TEMPLATE
$(1) = $$(addprefix $$(TOOLS_DIR)/, $$(shell echo -n $(1) | tr A-Z a-z))
endef
2023-01-17 10:35:11 +00:00
TOOLS = GIT-VERSION CREATE-ISO
2023-01-15 19:25:25 +00:00
2023-01-17 10:35:11 +00:00
$(foreach tool, $(TOOLS), $(eval $(call TOOLS_TEMPLATE,$(tool))))