X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=src%2FMakefile.am;h=9b912f511b44c049b9408c4d182ee07d5536a333;hb=e1ff13276e99a6707586fe43904d5d432cdcb1fe;hp=7605c8c084af7d72841f1a72497071fc9a201b72;hpb=33ef5e398a91e8eca3c55fdcf78713efeb7fa2a0;p=grits diff --git a/src/Makefile.am b/src/Makefile.am index 7605c8c..9b912f5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,35 @@ -bin_PROGRAMS = aweather +SUBDIRS = gis plugins -aweather_SOURCES = aweather.c -aweather_CPPFLAGS = @PACKAGE_CFLAGS@ -aweather_LDADD = @PACKAGE_LIBS@ +AM_CFLAGS = -Wall -Werror -Wno-unused --std=gnu99 + +bin_PROGRAMS = aweather wsr88ddec +aweather_SOURCES = main.c \ + aweather-gui.c aweather-gui.h \ + aweather-location.c aweather-location.h +aweather_CPPFLAGS = -DDATADIR="\"$(datadir)\"" $(SOUP_CFLAGS) $(GLIB_CFLAGS) $(GTK_CFLAGS) +aweather_LDADD = gis/libgis.la $(SOUP_LIBS) $(GLIB_LIBS) $(GTK_LIBS) + +wsr88ddec = wsr88ddec.c +wsr88ddec_LDFLAGS = -lbz2 + +CLEANFILES = gmon.out valgrind.out +MAINTAINERCLEANFILES = Makefile.in + +test: all + ./aweather -o -d 7 -s KVNX + +gdb: all + gdb .libs/aweather + +ddd: all + ddd .libs/aweather + +memcheck: + G_SLICE=always-malloc \ + G_DEBUG=gc-friendly,resident-modules \ + valgrind --leak-check=full \ + --leak-resolution=high \ + --num-callers=100 \ + --suppressions=gtk.suppression \ + .libs/aweather \ + 2> valgrind.out