move PREFIX and MANPREFIX into config.mk

This commit is contained in:
Jeremy Baxter 2023-12-24 05:53:29 +13:00
parent 790ad50f2b
commit ff5012f2c2
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,10 @@
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/man
CC = cc
CFLAGS = -std=c99 -pedantic -fpic -O2 -Wall -Wextra -Wno-override-init -Iexternal/luasrc
CPPFLAGS = -D_DEFAULT_SOURCE
LDFLAGS = -lm
LDFLAGS = -lm
# Enable readline
#CPPFLAGS += -DLUA_USE_READLINE