]> Pileus Git - grits/blob - src/Makefile.am
bug fixes
[grits] / src / Makefile.am
1 SUBDIRS = gis plugins
2
3 AM_CFLAGS = -Wall -Werror -Wno-unused --std=gnu99 
4
5 bin_PROGRAMS = aweather wsr88ddec
6 aweather_SOURCES  = main.c \
7         aweather-gui.c      aweather-gui.h \
8         aweather-location.c aweather-location.h
9 aweather_CPPFLAGS = -DDATADIR="\"$(datadir)\"" $(SOUP_CFLAGS) $(GLIB_CFLAGS) $(GTK_CFLAGS)
10 aweather_LDADD    = gis/libgis.la $(SOUP_LIBS) $(GLIB_LIBS) $(GTK_LIBS)
11
12 wsr88ddec         = wsr88ddec.c
13 wsr88ddec_LDFLAGS = -lbz2
14
15 CLEANFILES = gmon.out valgrind.out
16 MAINTAINERCLEANFILES = Makefile.in
17
18 test: all
19         ./aweather -o -d 7 -s KVNX
20
21 gdb: all
22         gdb .libs/aweather
23
24 ddd: all
25         ddd .libs/aweather
26
27 memcheck:
28         G_SLICE=always-malloc                   \
29         G_DEBUG=gc-friendly,resident-modules    \
30         valgrind --leak-check=full              \
31                  --leak-resolution=high         \
32                  --num-callers=100              \
33                  --suppressions=gtk.suppression \
34                  .libs/aweather                 \
35         2> valgrind.out