From 6722eaf826a14b7f2c21a2cbfb24c21389a4818e Mon Sep 17 00:00:00 2001 From: bpc2003 Date: Fri, 18 Apr 2025 14:35:31 -0400 Subject: Finished making getkeys a batch operation --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e039ed5..1310bff 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CC = gcc BUILD = target C_FLAGS = -Wall -lmdb -std=c11 -D_FLAGS = -L$(BUILD) -Wl,-rpath=$(BUILD) +D_FLAGS = -L$(BUILD) -Wl,-rpath=$(BUILD) -O0 L_FLAGS = -c -fPIC -Wall -Werror all: mdb @@ -14,10 +14,9 @@ lib: $(BUILD) test: dev_lib $(CC) src/test.c $(D_FLAGS) -g $(C_FLAGS) -o $(BUILD)/test.out - valgrind --leak-check=full ./$(BUILD)/test.out 2> dbg - valgrind --tool=helgrind ./$(BUILD)/test.out 2>> dbg + valgrind --tool=memcheck -s --log-file="mem_dbg" ./$(BUILD)/test.out + valgrind --tool=drd -s --log-file="thrd_dbg" ./$(BUILD)/test.out rm -rf $(BUILD) - dev: dev_lib $(CC) src/main.c src/cmd.c $(D_FLAGS) -g $(C_FLAGS) -o $(BUILD)/devmdb.out dev_lib: $(BUILD) -- cgit v1.2.3