57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
lua-standalone = $(if $(lua-lib-prefix),$(lua-lib-prefix)/liblua.a,-llua)
lua-bindeps = -lm -ldl
ifneq ($(filter net,$(binds-names)),)
lua-bindeps += -lcurl
endif
ifneq (luac-broken,)
comp-lua = $(if $(debug),,env strip=1) $(lua) tool/luac.lua $1 $(if $2,>$2)
else
comp-lua = $(luac) $(if $(debug),,-s) -o $(if $2,$2,-) $1
endif
# by default, we fetch and parse information about encodings we
# support so that cortav can do fancy things like format math
|
|
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
lua-standalone = $(if $(lua-lib-prefix),$(lua-lib-prefix)/liblua.a,-llua)
lua-bindeps = -lm -ldl
ifneq ($(filter net,$(binds-names)),)
lua-bindeps += -lcurl
endif
ifneq ($(luac-broken),)
comp-lua = $(if $(debug),,env strip=1) $(lua) tool/luac.lua $1 $(if $2,>$2)
else
comp-lua = $(luac) $(if $(debug),,-s) -o $(if $2,$2,-) $1
endif
# by default, we fetch and parse information about encodings we
# support so that cortav can do fancy things like format math
|