Remove hard dependency on readline, split makefile config into config.mk

This commit is contained in:
Jeremy Baxter 2023-07-18 12:38:03 +12:00
parent a72a34370c
commit 8b4a0f86cf
3 changed files with 9 additions and 5 deletions

8
config.mk Normal file
View 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