X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=src%2FMakefile.am;h=fb2e6f5e4cc42e34a9a4a5f9e21fd8635fbadd8c;hb=4a7da06607e9a4d1bf93f23917198f0d5db4abd2;hp=7203aa093473542658c0580caed79f3aed9f5444;hpb=9b913c654b2895815dc1f0ac9d526111a835aed7;p=aweather diff --git a/src/Makefile.am b/src/Makefile.am index 7203aa0..fb2e6f5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -10,6 +10,7 @@ aweather_SOURCES = main.c \ aweather-location.c aweather-location.h aweather_CPPFLAGS = \ -DHTMLDIR="\"$(dots)$(htmldir)\"" \ + -DICONDIR="\"$(dots)$(datadir)/icons\"" \ -DPKGDATADIR="\"$(dots)$(pkgdatadir)\"" \ -DPLUGINSDIR="\"$(dots)$(pkglibdir)\"" aweather_LDADD = $(GRITS_LIBS) @@ -25,7 +26,6 @@ wsr88ddec_LDFLAGS = -mwindows aweather_SOURCES += resource.rc aweather_LDFLAGS = -mwindows aweather_CPPFLAGS += -I$(top_srcdir)/lib -aweather_LDADD += $(top_srcdir)/lib/libgnu.la bin_PROGRAMS += aweather-dbg aweather_dbg_SOURCES = $(aweather_SOURCES) @@ -33,7 +33,7 @@ aweather_dbg_CPPFLAGS = $(aweather_CPPFLAGS) aweather_dbg_LDADD = $(aweather_LDADD) endif -.rc.o: ../data/aweather.ico +.rc.o: ../data/icons/48x48/aweather.ico $(RC) -o $@ $< CLEANFILES = gmon.out valgrind.out @@ -50,3 +50,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