Commit 3fcc86cb authored by Marek Vavruša's avatar Marek Vavruša

build: Lua modules with multiple source files

parent d1f02095
ketcd_SOURCES := ketcd.lua
$(call make_lua_module,ketcd)
......@@ -24,9 +24,9 @@ endef
# Lua target definition
define lua_target
$(1) := $(2)/$(1).lua
$(1) := $$($(1)_SOURCES)
$(1)-install: $(2)/$(1).lua
$(1)-install: $$($(1)_SOURCES)
.PHONY: $(1) $(1)-install $(1)-clean
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment