diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-12-29 19:53:14 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-12-29 19:53:14 +0100 |
commit | 767d477a55547732960724b5e04f7f751ef9cb10 (patch) | |
tree | 1593c364b0ec0ce30a7e4a97b3cb7e2a9e4dc91a /Makefile | |
parent | Man update (diff) | |
download | lowbat-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-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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} |