summaryrefslogtreecommitdiff
path: root/gr-qtgui/src/lib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/src/lib/Makefile.am')
-rw-r--r--gr-qtgui/src/lib/Makefile.am21
1 files changed, 13 insertions, 8 deletions
diff --git a/gr-qtgui/src/lib/Makefile.am b/gr-qtgui/src/lib/Makefile.am
index 2f98dd5d0..8adcd591b 100644
--- a/gr-qtgui/src/lib/Makefile.am
+++ b/gr-qtgui/src/lib/Makefile.am
@@ -43,18 +43,23 @@ include_HEADERS =
noinst_PROGRAMS = \
qt_examples
-qt_examples_MOC = \
+BUILT_SOURCES = \
moc_fftdisplay.cc
+nodist_qt_examples_SOURCES = \
+ $(BUILT_SOURCES)
+
qt_examples_SOURCES = \
fftdisplay.cc \
- qt_examples.cc \
- $(qt_examples_MOC)
+ qt_examples.cc
-qt_examples_LDADD = $(QWT_LIBS) $(QT_LIBS)
-qt_examples_LDFLAGS = $(QT_CFLAGS) $(QWT_CFLAGS) $(GNURADIO_CORE_LIBS)
+qt_examples_LDADD = $(QWT_LIBS) \
+ $(QT_LIBS) \
+ $(GNURADIO_CORE_LA)
-MOSTLYCLEANFILES = \
- *~
-CLEANFILES = $(filter moc_%.cc, $(qt_examples_SOURCES))
+qt_examples_LDFLAGS = $(QT_CFLAGS) \
+ $(QWT_CFLAGS)
+
+MOSTLYCLEANFILES = \
+ *~ $(BUILT_SOURCES)