diff --git a/Makefile b/Makefile index eddb224..ef5d274 100644 --- a/Makefile +++ b/Makefile @@ -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\ diff --git a/config.mk b/config.mk index 978913f..8182aea 100644 --- a/config.mk +++ b/config.mk @@ -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