From 767d477a55547732960724b5e04f7f751ef9cb10 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 29 Dec 2019 19:53:14 +0100 Subject: Makefile update --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8b76b99..57ea667 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,7 @@ ifeq ($(OS), Darwin) else PREFIX = /usr endif + MANPREFIX = $(PREFIX)/share/man @@ -52,11 +53,11 @@ ${OBJS_DIR}%.o: ${SRCS_DIR}%.cpp ${INCS_DIR}${INCS} @${MKDIR} ${OBJS_DIR} ${CXX} -c ${CXXFLAGS} -I${INCS_DIR} -o $@ $< -${NAME}: ${OBJS} +${TRGT_DIR}${NAME}: ${OBJS} @${MKDIR} ${TRGT_DIR} ${CXX} ${CXXFLAGS} -o ${TRGT_DIR}${NAME} ${OBJS} -all: ${NAME} +all: ${TRGT_DIR}${NAME} clean: ${RM} ${OBJS_DIR} -- cgit v1.2.3