aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-12-29 19:53:14 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-12-29 19:53:14 +0100
commit767d477a55547732960724b5e04f7f751ef9cb10 (patch)
tree1593c364b0ec0ce30a7e4a97b3cb7e2a9e4dc91a /Makefile
parentMan update (diff)
downloadlowbat-gnu-767d477a55547732960724b5e04f7f751ef9cb10.tar.gz
lowbat-gnu-767d477a55547732960724b5e04f7f751ef9cb10.tar.bz2
lowbat-gnu-767d477a55547732960724b5e04f7f751ef9cb10.tar.xz
lowbat-gnu-767d477a55547732960724b5e04f7f751ef9cb10.tar.zst
lowbat-gnu-767d477a55547732960724b5e04f7f751ef9cb10.zip
Makefile update
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files 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}