aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7223e7b..b829f3d 100644
--- a/Makefile
+++ b/Makefile
@@ -61,5 +61,12 @@ debug: build
gdb -x utils/commands.gdb --tui --args ${BIN} train data/xor.json -e 100
@#gdb -x utils/commands.gdb --tui --args ${BIN} predict data/sample_data.json
+check_leaks: build
+ valgrind --leak-check=yes \
+ --log-file=leaks.log \
+ --leak-check=full \
+ --show-leak-kinds=all \
+ ./${BIN} train -c utils/settings.cfg data/xor.json
+
clean:
@rm $(OBJDIR) -rv
Feel free to download, copy and edit any repo