X-Git-Url: http://pileus.org/git/?p=aweather;a=blobdiff_plain;f=src%2FMakefile.am;h=b72794b611c36888c3401567e652f5414e5592ae;hp=b0852f26d93d24f56846bad49572c9fd0dc3db3d;hb=d1e3f70aff8abe0dd288f5debbec86e38e20571c;hpb=30d0024157f9db987ce11254e9448b5c8667331f diff --git a/src/Makefile.am b/src/Makefile.am index b0852f2..b72794b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -51,3 +51,15 @@ gdb: all ddd: all ddd .libs/aweather + +memcheck: all + G_SLICE=always-malloc \ + G_DEBUG=gc-friendly,resident-modules \ + valgrind --track-origins=yes \ + --leak-check=full \ + --leak-resolution=high \ + --num-callers=50 \ + --suppressions=gtk.suppression \ + --suppressions=/usr/lib/valgrind/default.supp \ + .libs/aweather \ + 2> valgrind.out