Makefile: Some files should be removed when cleaning
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Sun, 30 Aug 2015 08:39:24 +0000 (17:39 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 1 Sep 2015 05:13:24 +0000 (14:13 +0900)
Source files generated by moc and rcc should be removed when
user runs 'make clean'.

Change-Id: I376f21ccc3f53760ee38d445ce0d4b65c2a9731b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Makefile

index 0b215d9..59398cd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -319,6 +319,8 @@ clean:
        rm -f qemu-options.def
        rm -f *.msi
        find . \( -name '*.l[oa]' -o -name '*.so' -o -name '*.dll' -o -name '*.mo' -o -name '*.[oda]' \) -type f -exec rm {} +
+       @# For TIZEN, we should remove source files generated by moc, rcc
+       find . \( -name 'moc_*.cpp' -o -name 'qrc_*.cpp' \) -type f -exec rm {} +
        rm -f $(filter-out %.tlb,$(TOOLS)) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod *~ */*~
        rm -f fsdev/*.pod
        rm -rf .libs */.libs