X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2FMakefile.am;h=46324714f4abb74d7f43185b7c245d1fedce25ae;hp=7605c8c084af7d72841f1a72497071fc9a201b72;hb=4fcef1604ab68160bb3fc51755cc87d23e215fee;hpb=33ef5e398a91e8eca3c55fdcf78713efeb7fa2a0 diff --git a/src/Makefile.am b/src/Makefile.am index 7605c8c..4632471 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,26 @@ -bin_PROGRAMS = aweather +AM_CPPFLAGS = -DDATADIR="\"$(datadir)\"" $(RSL_CFLAGS) $(GTK_CFLAGS) $(CURL_CFLAGS) +AM_CFLAGS = -O3 -Wall -Werror -Wno-unused --std=gnu99 +AM_LDFLAGS = -Wl,--export-dynamic +bin_PROGRAMS = aweather wsr88ddec -aweather_SOURCES = aweather.c -aweather_CPPFLAGS = @PACKAGE_CFLAGS@ -aweather_LDADD = @PACKAGE_LIBS@ +aweather_SOURCES = main.c \ + aweather-gui.c aweather-gui.h \ + aweather-view.c aweather-view.h \ + data.c data.h \ + location.c location.h \ + plugin-radar.c plugin-radar.h \ + plugin-ridge.c plugin-ridge.h \ + plugin-example.c plugin-example.h +aweather_LDADD = $(RSL_LIBS) $(GTK_LIBS) $(CURL_LIBS) + +wsr88ddec = wsr88ddec.c +wsr88ddec_LDADD = -lbz2 + + +test: all + LD_LIBRARY_PATH=/usr/local/trmm/GVBOX/lib/ \ + ./aweather + +debug: all + LD_LIBRARY_PATH=/usr/local/trmm/GVBOX/lib/ \ + gdb ./aweather