aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-12-04 01:43:14 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-12-04 01:43:14 +0100
commite777eea57c616f419135b716d18987b459285b76 (patch)
tree0d1fa87da6d2a101e90b12e19914de16af4f53c6
parentBetter now (diff)
downloadlowbat-gnu-e777eea57c616f419135b716d18987b459285b76.tar.gz
lowbat-gnu-e777eea57c616f419135b716d18987b459285b76.tar.bz2
lowbat-gnu-e777eea57c616f419135b716d18987b459285b76.tar.xz
lowbat-gnu-e777eea57c616f419135b716d18987b459285b76.tar.zst
lowbat-gnu-e777eea57c616f419135b716d18987b459285b76.zip
Quick update
-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;
}