summaryrefslogtreecommitdiff
path: root/dgedit
diff options
context:
space:
mode:
Diffstat (limited to 'dgedit')
-rw-r--r--dgedit/Makefile.am30
1 files changed, 16 insertions, 14 deletions
diff --git a/dgedit/Makefile.am b/dgedit/Makefile.am
index 09bfe22..2925f74 100644
--- a/dgedit/Makefile.am
+++ b/dgedit/Makefile.am
@@ -5,8 +5,8 @@ if HAVE_EDITOR
bin_PROGRAMS = dgedit
-dgedit_LDADD = $(SNDFILE_LIBS) $(QT_LIBS) $(shell ../tools/MocList o ) \
- $(AO_LIBS)
+dgedit_LDADD = $(SNDFILE_LIBS) $(QT_LIBS) $(AO_LIBS) \
+ $(shell ../tools/MocList o ) qrc_dgedit.o
dgedit_CXXFLAGS = $(SNDFILE_CXXFLAGS) $(QT_CFLAGS) $(AO_CFLAGS)
AM_CXXFLAGS = $(QT_CFLAGS)
@@ -23,8 +23,7 @@ dgedit_SOURCES = \
itemeditor.cc \
mainwindow.cc \
mipmap.cc \
- samplesorter.cc \
- dgedit.qrc
+ samplesorter.cc
EXTRA_DIST = \
audioextractor.h \
@@ -38,25 +37,28 @@ EXTRA_DIST = \
mainwindow.h \
mipmap.h \
samplesorter.h \
- selection.h
+ selection.h \
+ dgedit.qrc
dgedit_MOC = $(shell ../tools/MocList cc )
-dgedit_qrc.cpp: dgedit.qrc
- rcc $< > $@
-
-BUILT_SOURCES = $(dgedit_MOC) dgedit_qrc.cpp
+BUILT_SOURCES = $(dgedit_MOC) qrc_dgedit.cc
CLEANFILES = $(BUILT_SOURCES)
+qrc_%.cc: %.qrc
+ rcc $< > $@
+
%.moc.cc: %.h
$(QT_MOC) -o $@ $<
-%.h: %.ui
- $(QT_UIC) -o $@ $<
-
-%.cc: %.ui
- $(QT_UIC) -o $@ -impl $*.h $<
+#
+# ui files not used in this project...
+#%.h: %.ui
+# $(QT_UIC) -o $@ $<
+#
+#%.cc: %.ui
+# $(QT_UIC) -o $@ -impl $*.h $<
# command for creating .res file from .rc on Win32
%.res: %.rc