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,5 +1,3 @@
PREFIX = /usr/local
include config.mk
OBJS = csto.o callisto.o lcl.o lenviron.o lextra.o lfs.o ljson.o\

View file

@ -1,3 +1,6 @@
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