From 8cf1f8a901a81c51461019a5e6d63a8fa26f3da9 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 9 Mar 2021 13:59:45 +0100 Subject: make: Add target for building Teal sources Compiled Lua targets included in parallel in order to not add a hard dependency on Teal, at least not yet. --- GNUmakefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 1846d72d..eaf7c9c8 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -105,6 +105,10 @@ lint: @echo $$(sed -n '/^\tlocal exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored shellcheck configure +util/%.lua: teal-src/util/%.tl + tl -I teal-src/ --gen-compat off --gen-target 5.1 gen $^ -o $@ + -lua-format -i $@ + util/%.so: $(MAKE) install -C util-src -- cgit v1.2.3