diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/main.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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; } |