]> Pileus Git - grits/blob - src/Makefile.am
fixing more memory leaks
[grits] / src / Makefile.am
1 AM_CPPFLAGS  = -DDATADIR="\"$(datadir)\"" $(RSL_CFLAGS) $(GTK_CFLAGS) $(CURL_CFLAGS) 
2 AM_CFLAGS    = -Wall -Werror -Wno-unused --std=gnu99 
3 AM_LDFLAGS   = -Wl,--export-dynamic
4 bin_PROGRAMS = aweather wsr88ddec
5
6 aweather_SOURCES  = main.c \
7         aweather-gui.c   aweather-gui.h   \
8         aweather-view.c  aweather-view.h  \
9         data.c           data.h           \
10         location.c       location.h       \
11         plugin-radar.c   plugin-radar.h   \
12         plugin-radar-colormap.c           \
13         plugin-ridge.c   plugin-ridge.h   \
14         plugin-example.c plugin-example.h
15 aweather_LDADD    = $(RSL_LIBS) $(GTK_LIBS) $(CURL_LIBS)
16
17 wsr88ddec         = wsr88ddec.c
18 wsr88ddec_LDADD   = -lbz2
19
20 # LD_LIBRARY_PATH=/usr/local/trmm/GVBOX/lib/ 
21
22 test: all
23         ./aweather
24
25 gdb: all
26         gdb ./aweather
27
28 ddd: all
29         ddd ./aweather
30
31 memcheck:
32         G_SLICE=always-malloc                   \
33         G_DEBUG=gc-friendly,resident-modules    \
34         valgrind --leak-check=full              \
35                  --leak-resolution=high         \
36                  --num-callers=50               \
37                  --suppressions=gtk.suppression \
38                  ./aweather                     \
39         2> memcheck.log