summaryrefslogtreecommitdiffstats
path: root/Rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mk')
-rw-r--r--Rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mk b/Rules.mk
index d3c8c79a8..d5bc31246 100644
--- a/Rules.mk
+++ b/Rules.mk
@@ -210,7 +210,7 @@ doc:
clean:
rm -f $(ALL_OBJS) *~ $(NAME) $(NAME).exe po/*~ po/subsurface-new.pot \
- $(VERSION_FILE) qt-ui/*.moc qt-ui/ui_*.h
+ $(VERSION_FILE) $(HEADERS_NEEDING_MOC:.h=.moc) *.moc qt-ui/*.moc qt-ui/ui_*.h
rm -f $(RESOURCES:.qrc=.qrc.cpp)
rm -rf share