summaryrefslogtreecommitdiff
path: root/tests/fs-tests/integrity/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fs-tests/integrity/Makefile')
-rw-r--r--tests/fs-tests/integrity/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/fs-tests/integrity/Makefile b/tests/fs-tests/integrity/Makefile
index 976c3ce..2cdd470 100644
--- a/tests/fs-tests/integrity/Makefile
+++ b/tests/fs-tests/integrity/Makefile
@@ -13,5 +13,10 @@ TARGETS = integck
all: $(TARGETS)
+# Disable optimizations to make it possible to use gdb comfortably
+# Use -rdynamic to have stack backtraces
+debug:
+ gcc $(CFLAGS) -O0 -D INTEGCK_DEBUG -rdynamic integck.c -o integck
+
clean:
rm -f *.o $(TARGETS)