Comparison

GNUmakefile @ 12130:c4ca226ff386

make: Add target for rebuilding from Teal sources
author Kim Alvefur <zash@zash.se>
date Wed, 29 Dec 2021 16:51:13 +0100
parent 11463:21523e3d395e
child 12131:b4c0efff8dd3
comparison
equal deleted inserted replaced
12129:7a68d5828f3b 12130:c4ca226ff386
108 vpath %.tl teal-src/ 108 vpath %.tl teal-src/
109 %.lua: %.tl 109 %.lua: %.tl
110 tl -I teal-src/ --gen-compat off --gen-target 5.1 gen $^ -o $@ 110 tl -I teal-src/ --gen-compat off --gen-target 5.1 gen $^ -o $@
111 -lua-format -i $@ 111 -lua-format -i $@
112 112
113 teal: util/jsonschema.lua util/datamapper.lua
114
113 util/%.so: 115 util/%.so:
114 $(MAKE) install -C util-src 116 $(MAKE) install -C util-src
115 117
116 %.install: % 118 %.install: %
117 sed "1s| lua$$| $(RUNWITH)|; \ 119 sed "1s| lua$$| $(RUNWITH)|; \