Ease slightly making Lua with C89
This commit is contained in:
4
makefile
4
makefile
@@ -69,7 +69,9 @@ CWARNS= $(CWARNSCPP) $(CWARNSC) $(CWARNGCC)
|
||||
LOCAL = $(TESTS) $(CWARNS)
|
||||
|
||||
|
||||
# enable Linux goodies
|
||||
# To enable Linux goodies, -DLUA_USE_LINUX
|
||||
# For C89, "-std=c89 -DLUA_USE_C89"
|
||||
# Note that Linux/Posix options are not compatible with C89
|
||||
MYCFLAGS= $(LOCAL) -std=c99 -DLUA_USE_LINUX
|
||||
MYLDFLAGS= $(LOCAL) -Wl,-E
|
||||
MYLIBS= -ldl
|
||||
|
||||
Reference in New Issue
Block a user