From e777eea57c616f419135b716d18987b459285b76 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Dec 2019 01:43:14 +0100 Subject: Quick update --- Makefile | 2 +- src/main.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6fae817..a6e035a 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,7 @@ ${OBJS_DIR}%.o: ${SRCS_DIR}%.cpp ${INCS_DIR}${INCS} ${CC} ${CFLAGS} -I${INCS_DIR} -c -o $@ $< #------------------------------------------------------------------------------# ${NAME}: ${OBJS} - ${MKDIR} ${TRGT_DIR} + @${MKDIR} ${TRGT_DIR} ${CC} ${CFLAGS} -o ${TRGT_DIR}${NAME} ${OBJS} #------------------------------------------------------------------------------# all: ${NAME} diff --git a/src/main.cpp b/src/main.cpp index 46f875c..6590ed5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -46,5 +46,7 @@ int main(int argc, const char *argv[]) { } sleep_for(seconds(240)); } + delete batlvl; + delete acstat; return 0; } -- cgit v1.2.3