diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-09-02 18:46:25 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-09-02 18:46:25 +0200 |
commit | bae17bbe092e519864ee70894d67fb44ef1e18cb (patch) | |
tree | 4005b1c2e24b2a2de23258972189c27a61a51f3b | |
parent | 8926f88cfb4085b27fc04ba926f85ca4f039f453 (diff) |
GNUmakefile: Add targets dmalloc-run and valgrind-run.
-rw-r--r-- | GNUmakefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index 3fe3533..c6bc134 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -232,3 +232,9 @@ debugging-run: $(KIT_TARGETS) toilet ddd-run: $(KIT_TARGETS) toilet env LD_LIBRARY_PATH="`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib" ddd obj/toilet + +dmalloc-run: $(KIT_TARGETS) toilet + env LD_LIBRARY_PATH="`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib" LD_PRELOAD=/usr/lib/libdmalloc.so obj/toilet + +valgrind-run: $(KIT_TARGETS) toilet + env LD_LIBRARY_PATH="`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib" valgrind --freelist-vol=300000000 obj/toilet |