summaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorPiotr Galiszewski <piotr@galiszewski.pl>2010-07-14 15:10:28 +0200
committerPiotr Galiszewski <piotr@galiszewski.pl>2010-07-14 15:45:49 +0200
commit3bf1570edcaaba6c21c9c38ce60041031626706f (patch)
tree4e851bc619af88ea3e87bae557068dbfd50526f2 /src/qt
parentc082355be77e96fd6776ab7f86825e8dd14eeed0 (diff)
downloadaptitude-3bf1570edcaaba6c21c9c38ce60041031626706f.tar.gz
add new target *.mocc used for files containing signals and slots definitions in cc files
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/moc.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/moc.mk b/src/qt/moc.mk
index 37a27e64..c33780af 100644
--- a/src/qt/moc.mk
+++ b/src/qt/moc.mk
@@ -1,8 +1,12 @@
%.moc : %.h
$(MOC) -i -o "$@" "$<"
+%.mocc : %.cc
+ $(MOC) -i -o "$@" "$<"
+
clean-moc-extra:
rm -vf *.moc
+ rm -vf *.mocc
clean-am: clean-moc-extra