diff options
Diffstat (limited to 'apps/plugins/lua_scripts/lua_scripts.make')
-rw-r--r-- | apps/plugins/lua_scripts/lua_scripts.make | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/apps/plugins/lua_scripts/lua_scripts.make b/apps/plugins/lua_scripts/lua_scripts.make new file mode 100644 index 0000000000..2f46f9d74a --- /dev/null +++ b/apps/plugins/lua_scripts/lua_scripts.make | |||
@@ -0,0 +1,24 @@ | |||
1 | # __________ __ ___. | ||
2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
6 | # \/ \/ \/ \/ \/ | ||
7 | # $Id$ | ||
8 | # | ||
9 | |||
10 | LUASCR_SRCDIR := $(APPSDIR)/plugins/lua_scripts | ||
11 | LUASCR_BUILDDIR := $(BUILDDIR)/apps/plugins/lua_scripts | ||
12 | LUASCRS := $(wildcard $(LUASCR_SRCDIR)/*.lua) | ||
13 | |||
14 | #DUMMY := $(info [${LUASCRS}]) | ||
15 | |||
16 | DUMMY : all | ||
17 | |||
18 | all: $(subst $(LUASCR_SRCDIR)/,$(LUASCR_BUILDDIR)/,$(LUASCRS)) | ||
19 | |||
20 | $(LUASCR_BUILDDIR)/%.lua: $(LUASCR_SRCDIR)/%.lua | $(LUASCR_BUILDDIR) | ||
21 | $(call PRINTS,CP $(subst $(LUASCR_SRCDIR)/,,$<))cp $< $@ | ||
22 | |||
23 | $(LUASCR_BUILDDIR): | ||
24 | $(call PRINTS,MKDIR $@)mkdir -p $(LUASCR_BUILDDIR)/ | ||