-.list.c:
- glib-genmarshal --prefix=aweather_cclosure_marshal --body $< > $@
-.list.h:
- glib-genmarshal --prefix=aweather_cclosure_marshal --header $< > $@
+if WIN32
+dots = ..
+
+wsr88ddec_LDFLAGS = -mwindows
+
+aweather_SOURCES += resource.rc
+aweather_LDFLAGS = -mwindows
+aweather_CPPFLAGS += -I$(top_srcdir)/lib
+aweather_LDADD += $(top_srcdir)/lib/libgnu.la
+
+bin_PROGRAMS += aweather-dbg
+aweather_dbg_SOURCES = $(aweather_SOURCES)
+aweather_dbg_CPPFLAGS = $(aweather_CPPFLAGS)
+aweather_dbg_LDADD = $(aweather_LDADD)
+endif
+
+.rc.o: ../data/icons/48x48/aweather.ico
+ $(RC) -o $@ $<
+
+CLEANFILES = gmon.out valgrind.out
+MAINTAINERCLEANFILES = Makefile.in