summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbpc2003 <wpesfriendnva@gmail.com>2025-05-22 14:07:29 -0400
committerbpc2003 <wpesfriendnva@gmail.com>2025-05-22 14:07:29 -0400
commit175c04f2972c2a65e29ba2456ba5d058c35dcf87 (patch)
tree6eb27a6c74a1ef0f89e8e109bf8225c4ce9d39a4 /Makefile
parenta08b44e1c6fbd8b56011a969f8c11bcc630e1ee0 (diff)
Improve file formatting
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8d539db..ec39896 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CC = clang
BUILD = target
C_FLAGS = -Wall -lmdb -std=c11
D_FLAGS = -L$(BUILD) -Wl,-rpath=$(BUILD) -O0
-L_FLAGS = -c -fPIC -Wall
+L_FLAGS = -c -fPIC -Wall -Wextra
all: mdb
mdb: lib
@@ -14,7 +14,7 @@ lib: $(BUILD)
test: dev_lib
$(CC) src/test.c $(D_FLAGS) -g $(C_FLAGS) -o $(BUILD)/test.out
- valgrind --tool=memcheck --leak-check=full --log-file="mem_dbg" ./$(BUILD)/test.out
+ valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all --log-file="mem_dbg" ./$(BUILD)/test.out
valgrind --tool=drd -s --log-file="thrd_dbg" ./$(BUILD)/test.out
rm -rf $(BUILD)
dev: dev_lib