summaryrefslogtreecommitdiff
path: root/tools/MocMaker
diff options
context:
space:
mode:
Diffstat (limited to 'tools/MocMaker')
-rwxr-xr-xtools/MocMaker1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/MocMaker b/tools/MocMaker
index da34900..618f399 100755
--- a/tools/MocMaker
+++ b/tools/MocMaker
@@ -1,3 +1,4 @@
+#!/bin/sh
# -*- mode: shell-script; sh-shell: bash; sh-indentation: 2 -*-
echo -ne "\n"
for file in `grep "Q_OBJECT" *.h | cut -d: -f1 | cut -d'/' -f3 | xargs echo`; do echo -e "moc_${file%.h}.cpp: $file\n\t@\${MOC} $file -o moc_${file%.h}.cpp\n"; done