1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/pkg/lua/Makefile.lua
2018-07-18 15:29:06 +02:00

13 lines
404 B
Lua

SRC := $(filter-out loadlib.c lua.c luac.c,$(wildcard *.c))
CFLAGS += -fstack-usage -fconserve-stack \
-DLUA_MAXCAPTURES=16 \
-DL_MAXLENNUM=50
# Enable these options to debug stack usage
# -Wstack-usage=128 -Wno-error=stack-usage=128
include $(RIOTBASE)/Makefile.base
ifneq (,$(filter -Wformat-nonliteral -Wformat=2, $(CFLAGS)))
CFLAGS += -Wno-format-nonliteral
endif