]> Pileus Git - aweather/blob - src/Makefile.am
Add user documentations
[aweather] / src / Makefile.am
1 SUBDIRS = plugins
2
3 AM_CFLAGS   = -Wall --std=gnu99 $(GIS_CFLAGS)
4 AM_LDFLAGS  = -Wl,--export-dynamic
5
6 bin_PROGRAMS = aweather wsr88ddec
7 aweather_SOURCES  = main.c \
8         aweather-gui.c      aweather-gui.h \
9         aweather-location.c aweather-location.h
10 aweather_CPPFLAGS = \
11         -DHTMLDIR="\"$(dots)$(htmldir)\"" \
12         -DPKGDATADIR="\"$(dots)$(pkgdatadir)\"" \
13         -DPLUGINSDIR="\"$(dots)$(pkglibdir)\""
14 aweather_LDADD    = $(GIS_LIBS)
15
16 wsr88ddec         = wsr88ddec.c
17 wsr88ddec_LDADD   = $(GLIB_LIBS) -lbz2
18
19 if WIN32
20 AM_LDFLAGS       += -mwindows 
21 aweather_SOURCES += resource.rc
22 dots              = ..
23 endif
24
25 .rc.o: ../data/aweather.ico
26         $(RC) -o $@ $<
27
28 CLEANFILES = gmon.out valgrind.out
29 MAINTAINERCLEANFILES = Makefile.in
30
31 test: all
32         .libs/aweather -o -d 7
33
34 gdb: all
35         gdb .libs/aweather
36
37 ddd: all
38         ddd .libs/aweather