summaryrefslogtreecommitdiffstats
path: root/admin/am_edit
diff options
context:
space:
mode:
Diffstat (limited to 'admin/am_edit')
-rw-r--r--admin/am_edit6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/am_edit b/admin/am_edit
index 41dee23..668c5ac 100644
--- a/admin/am_edit
+++ b/admin/am_edit
@@ -1381,7 +1381,7 @@ sub tag_UIFILES ()
$dep_lines .= "\t\$(UIC) -o $source.h $sourcedir$source.ui\n";
}
$dep_lines .= "$source.moc: $source.h\n";
- $dep_lines .= "\t\$(TQTMOC) \$(MOC) $source.h $source.moc\n";
+ $dep_lines .= "\t\$(TQTMOC) $source.h -o $source.moc\n";
$rule_adds{"$source.$cxxsuffix"} = $dep_lines;
@@ -2242,13 +2242,13 @@ sub addMocRules ()
$cppFile =~ s,\.[^.]*$,,;
$target_adds{"$cppFile.o"} .= "$mocFile.moc ";
$target_adds{"$cppFile.lo"} .= "$mocFile.moc ";
- appendLines ("$mocFile.moc: $dir/$hFile\n\t\$(TQTMOC) \$(MOC) $dir/$hFile $mocFile.moc\n");
+ appendLines ("$mocFile.moc: $dir/$hFile\n\t\$(TQTMOC) $dir/$hFile -o $mocFile.moc\n");
$cleanMoc .= " $mocFile.moc";
appendLines ("mocs: $mocFile.moc\n");
}
else
{
- appendLines ("$mocFile$mocExt: $dir/$hFile\n\t\$(TQTMOC) \$(MOC) $dir/$hFile $mocFile$mocExt\n");
+ appendLines ("$mocFile$mocExt: $dir/$hFile\n\t\$(TQTMOC) $dir/$hFile -o $mocFile$mocExt\n");
$cleanMoc .= " $mocFile$mocExt";
appendLines ("mocs: $mocFile$mocExt\n");
}