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