]> Pileus Git - aweather/blob - src/Makefile.am
Adding some (commented out) support for generating iso surfaces.
[aweather] / src / Makefile.am
1 AM_CFLAGS     = -Wall -Werror -Wno-unused --std=gnu99 
2 bin_PROGRAMS  = aweather wsr88ddec
3
4 BUILT_SOURCES = marshal.c marshal.h
5
6 aweather_SOURCES  = main.c \
7         marshal.c         marshal.h         \
8         aweather-gui.c    aweather-gui.h    \
9         aweather-view.c   aweather-view.h   \
10         aweather-plugin.c aweather-plugin.h \
11         data.c            data.h            \
12         location.c        location.h        \
13         marching.c        marching.h        \
14         plugin-radar.c    plugin-radar.h    \
15         plugin-radar-colormap.c             \
16         plugin-ridge.c    plugin-ridge.h    \
17         plugin-example.c  plugin-example.h
18 aweather_CPPFLAGS = -DDATADIR="\"$(datadir)\"" \
19         $(RSL_CFLAGS) $(SOUP_CFLAGS) $(GLIB_CFLAGS) $(GTK_CFLAGS)
20 aweather_LDADD    = $(RSL_LIBS) $(SOUP_LIBS) $(GLIB_LIBS) $(GTK_LIBS)
21
22 wsr88ddec         = wsr88ddec.c
23 wsr88ddec_LDADD   = -lbz2
24
25 CLEANFILES = gmon.out valgrind.out
26 MAINTAINERCLEANFILES = Makefile.in
27
28 .list.c:
29         glib-genmarshal --prefix=aweather_cclosure_marshal --body   $< > $@
30 .list.h:
31         glib-genmarshal --prefix=aweather_cclosure_marshal --header $< > $@
32
33 test: all
34         ./aweather -o -d 7 -s KVNX
35
36 gdb: all
37         gdb ./aweather
38
39 ddd: all
40         ddd ./aweather
41
42 memcheck:
43         G_SLICE=always-malloc                   \
44         G_DEBUG=gc-friendly,resident-modules    \
45         valgrind --leak-check=full              \
46                  --leak-resolution=high         \
47                  --num-callers=100              \
48                  --suppressions=gtk.suppression \
49                  ./aweather                     \
50         2> valgrind.out