summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-06-27 15:10:27 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-06-27 15:10:27 +0200
commitd8bb9ac98e86017217b3760d7b68d2be2b2d975d (patch)
tree896767f1e29532fe61f57a90ad267bb8b6ce656c /GNUmakefile
parent07df35f1160f6a9ab1f117d8f134cab5925f3b15 (diff)
Add debugging targets to the makefile.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 0ec256b..51673aa 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -85,3 +85,9 @@ run-toilet: before-toilet ToiletKit toilet
env LD_LIBRARY_PATH=`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib obj/toilet
run: run-toilet
+
+debugging-run: before-toilet ToiletKit toilet
+ env LD_LIBRARY_PATH=`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib gdb -ex run obj/toilet
+
+ddd-run: before-toilet ToiletKit toilet
+ env LD_LIBRARY_PATH=`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib ddd obj/toilet