-AM_LDFLAGS = $(RSL_LIBS) $(GTK_LIBS)
-AM_CFLAGS = -Wall -Werror -Wno-unused --std=gnu99
-bin_PROGRAMS = aweather wsr88ddec
+AM_LDFLAGS = $(RSL_LIBS) $(GTK_LIBS)
+AM_CFLAGS = -Wall -Werror -Wno-unused --std=gnu99
+bin_PROGRAMS = aweather wsr88ddec
+
+BUILT_SOURCES = marshal.c marshal.h
aweather_SOURCES = main.c \
+ marshal.c marshal.h \
aweather-gui.c aweather-gui.h \
aweather-view.c aweather-view.h \
data.c data.h \
wsr88ddec = wsr88ddec.c
wsr88ddec_LDADD = -lbz2
-# LD_LIBRARY_PATH=/usr/local/trmm/GVBOX/lib/
+.list.c:
+ glib-genmarshal --prefix=aweather_cclosure_marshal --body $< > $@
+.list.h:
+ glib-genmarshal --prefix=aweather_cclosure_marshal --header $< > $@
test: all
./aweather