summaryrefslogtreecommitdiff
path: root/moc.mk
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-10-18 18:30:51 +0100
committerRichard Hughes <richard@hughsie.com>2008-10-18 18:30:51 +0100
commit08077687e162d3d363f8a9309b544795fde94aad (patch)
treeae0866ee5389dcf2575c421babf2decc5d2c897a /moc.mk
parent08ecc3e0af50184ddb997d765d1022879cedd247 (diff)
trivial: add missing build helper
Diffstat (limited to 'moc.mk')
-rw-r--r--moc.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/moc.mk b/moc.mk
new file mode 100644
index 00000000..37a27e64
--- /dev/null
+++ b/moc.mk
@@ -0,0 +1,8 @@
+%.moc : %.h
+ $(MOC) -i -o "$@" "$<"
+
+clean-moc-extra:
+ rm -vf *.moc
+
+clean-am: clean-moc-extra
+