diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-12-29 13:13:07 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-12-29 13:13:07 +0100 |
commit | 8d453fb28dc7c07f0453d8d1063e5d2e72b9a320 (patch) | |
tree | b7143d7595a797083da4fafe8334c2250404ce74 /Makefile | |
parent | ls still not working (diff) | |
download | lowbat-gnu-8d453fb28dc7c07f0453d8d1063e5d2e72b9a320.tar.gz lowbat-gnu-8d453fb28dc7c07f0453d8d1063e5d2e72b9a320.tar.bz2 lowbat-gnu-8d453fb28dc7c07f0453d8d1063e5d2e72b9a320.tar.xz lowbat-gnu-8d453fb28dc7c07f0453d8d1063e5d2e72b9a320.tar.zst lowbat-gnu-8d453fb28dc7c07f0453d8d1063e5d2e72b9a320.zip |
oop rework in progress
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -12,6 +12,7 @@ TRGT_DIR = bin/ SRCS_NAME = main.cpp SRCS_NAME += jo_exec.cpp SRCS_NAME += jo_notify.cpp +SRCS_NAME += jo_lowbat.cpp SRCS = $(addprefix ${SRCS_DIR}, ${SRCS_NAME}) @@ -50,13 +51,11 @@ MANPREFIX = $(PREFIX)/share/man ${OBJS_DIR}%.o: ${SRCS_DIR}%.cpp ${INCS_DIR}${INCS} -ifeq ("$(wildcard ${OBJS_DIR})","") - ${MKDIR} ${OBJS_DIR} -endif + @${MKDIR} ${OBJS_DIR} ${CXX} ${CXXFLAGS} -I${INCS_DIR} -c -o $@ $< ${NAME}: ${OBJS} - ${MKDIR} ${TRGT_DIR} + @${MKDIR} ${TRGT_DIR} ${CXX} ${CXXFLAGS} -o ${TRGT_DIR}${NAME} ${OBJS} all: ${NAME} |