Remove hard dependency on readline, split makefile config into config.mk
This commit is contained in:
parent
a72a34370c
commit
8b4a0f86cf
3 changed files with 9 additions and 5 deletions
8
config.mk
Normal file
8
config.mk
Normal file
|
@ -0,0 +1,8 @@
|
|||
CC = cc
|
||||
CFLAGS = -std=c99 -pedantic -fpic -O2 -Wall -Wextra -Wno-override-init -I. -Ilua-5.4
|
||||
CPPFLAGS = -D_DEFAULT_SOURCE
|
||||
LDFLAGS = -lm
|
||||
|
||||
# Enable readline
|
||||
#CPPFLAGS += -DLUA_USE_READLINE
|
||||
#LDFLAGS += -lreadline
|
Loading…
Add table
Add a link
Reference in a new issue