aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--src/main.cpp2
2 files changed, 3 insertions, 1 deletions
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;
}