X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2FMakefile.am;h=673662290a27173d29e70f2b1464cefe5936b426;hp=67a788a46f698b5fadf6f94e058f68a358aa7778;hb=721c55f22af98cf2fcc247169836e9b355a47104;hpb=cd9b92089bf40c7e21a914e06d45ef734aadd086 diff --git a/src/Makefile.am b/src/Makefile.am index 67a788a..6736622 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,28 @@ -bin_PROGRAMS = aweather +AM_CPPFLAGS = -DDATADIR="\"$(datadir)\"" $(RSL_CFLAGS) $(GTK_CFLAGS) $(CURL_CFLAGS) +AM_CFLAGS = -Wall -Werror -Wno-unused --std=gnu99 +AM_LDFLAGS = -Wl,--export-dynamic +bin_PROGRAMS = aweather wsr88ddec -aweather_SOURCES = aweather.c opengl.c cube.c radar.c -aweather_CPPFLAGS = @PACKAGE_CFLAGS@ -I/usr/local/trmm/GVBOX/include/ -aweather_LDADD = @PACKAGE_LIBS@ -L/usr/local/trmm/GVBOX/lib/ -lrsl +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 +# LD_LIBRARY_PATH=/usr/local/trmm/GVBOX/lib/ + +test: all + ./aweather + +gdb: all + gdb ./aweather + +ddd: all + ddd ./aweather