summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9c4bcf4..27b26ca 100644
--- a/Makefile
+++ b/Makefile
@@ -49,3 +49,8 @@ $(test_lua) : spec/%.lua : src/%.lua
$(test_moon) : spec/%.lua : src/%.moon
$(MOONC) -p $< > $@
+
+$(built_js) : data/%.lua : src/%.js
+ echo "return [=====[" > $@
+ cat $< >> $@
+ echo "]=====]" >> $@