Makefile 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. #############################################################################
  2. # Makefile for building: ecards
  3. # Generated by qmake (2.01a) (Qt 4.7.4) on: N 3. cze 16:48:39 2012
  4. # Project: ecards.pro
  5. # Template: app
  6. # Command: e:/nokia/qtsdk/madde/targets/harmattan_10.2011.34-1_rt1.2/bin/qmake.exe -spec ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/default -unix CONFIG+=debug -after OBJECTS_DIR=obj MOC_DIR=moc UI_DIR=ui RCC_DIR=rcc -o Makefile ecards.pro
  7. #############################################################################
  8. ####### Compiler, tools and options
  9. CC = gcc
  10. CXX = g++
  11. DEFINES = -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
  12. CFLAGS = -pipe -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -I/usr/include/applauncherd -Wall -W -D_REENTRANT $(DEFINES)
  13. CXXFLAGS = -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -I/usr/include/applauncherd -Wall -W -D_REENTRANT $(DEFINES)
  14. INCPATH = -I../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/default -I. -I../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/qt4/QtCore -I../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/qt4/QtGui -I../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/qt4/QtDeclarative -I../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/qt4 -I../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/qt4/QtGallery -I../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/qt4/QtMessaging -I../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/qt4 -I../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/qt4/QtMobility -Imoc
  15. LINK = g++
  16. LFLAGS = -pie -rdynamic -Wl,-rpath,E:/usr/lib
  17. LIBS = $(SUBLIBS) -LE:/Nokia/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib -pie -rdynamic -lmdeclarativecache -L/usr/lib -lQtMessaging -lQtGallery -lQtDeclarative -lQtGui -lQtCore -lpthread
  18. AR = ar cqs
  19. RANLIB =
  20. QMAKE = e:/nokia/qtsdk/madde/targets/harmattan_10.2011.34-1_rt1.2/bin/qmake.exe
  21. TAR = tar -cf
  22. COMPRESS = gzip -9f
  23. COPY = cp -f
  24. SED = sed
  25. COPY_FILE = $(COPY)
  26. COPY_DIR = $(COPY) -r
  27. STRIP = strip
  28. INSTALL_FILE = install -m 644 -p
  29. INSTALL_DIR = $(COPY_DIR)
  30. INSTALL_PROGRAM = install -m 755 -p
  31. DEL_FILE = rm -f
  32. SYMLINK = ln -f -s
  33. DEL_DIR = rmdir
  34. MOVE = mv -f
  35. CHK_DIR_EXISTS= test -d
  36. MKDIR = mkdir -p
  37. ####### Output directory
  38. OBJECTS_DIR = obj/
  39. ####### Files
  40. SOURCES = main.cpp \
  41. mainwidget.cpp \
  42. imagewidget.cpp moc/moc_mainwidget.cpp \
  43. moc/moc_imagewidget.cpp \
  44. moc/moc_cardboard.cpp \
  45. moc/moc_colortools.cpp \
  46. rcc/qrc_res.cpp
  47. OBJECTS = obj/main.o \
  48. obj/mainwidget.o \
  49. obj/imagewidget.o \
  50. obj/moc_mainwidget.o \
  51. obj/moc_imagewidget.o \
  52. obj/moc_cardboard.o \
  53. obj/moc_colortools.o \
  54. obj/qrc_res.o
  55. DIST = ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/g++.conf \
  56. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/unix.conf \
  57. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/linux.conf \
  58. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/qconfig.pri \
  59. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt_functions.prf \
  60. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt_config.prf \
  61. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
  62. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/default_pre.prf \
  63. deployment.pri \
  64. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/debug.prf \
  65. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/default_post.prf \
  66. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qdeclarative-boostable.prf \
  67. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/link_pkgconfig.prf \
  68. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/mobility.prf \
  69. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/warn_on.prf \
  70. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt.prf \
  71. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/unix/thread.prf \
  72. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/moc.prf \
  73. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/resources.prf \
  74. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/uic.prf \
  75. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/yacc.prf \
  76. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/lex.prf \
  77. ecards.pro
  78. QMAKE_TARGET = ecards
  79. DESTDIR =
  80. TARGET = ecards
  81. first: all
  82. ####### Implicit rules
  83. .SUFFIXES: .o .c .cpp .cc .cxx
  84. .cpp.o:
  85. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  86. .cc.o:
  87. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  88. .cxx.o:
  89. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  90. .c.o:
  91. $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
  92. ####### Build rules
  93. all: Makefile $(TARGET)
  94. $(TARGET): $(OBJECTS)
  95. $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
  96. Makefile: ecards.pro ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/default/qmake.conf ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/g++.conf \
  97. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/unix.conf \
  98. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/linux.conf \
  99. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/qconfig.pri \
  100. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt_functions.prf \
  101. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt_config.prf \
  102. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
  103. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/default_pre.prf \
  104. deployment.pri \
  105. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/debug.prf \
  106. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/default_post.prf \
  107. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qdeclarative-boostable.prf \
  108. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/link_pkgconfig.prf \
  109. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/mobility.prf \
  110. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/warn_on.prf \
  111. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt.prf \
  112. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/unix/thread.prf \
  113. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/moc.prf \
  114. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/resources.prf \
  115. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/uic.prf \
  116. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/yacc.prf \
  117. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/lex.prf \
  118. e:/Nokia/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libQtDeclarative.prl \
  119. e:/Nokia/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libQtGui.prl \
  120. e:/Nokia/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libQtCore.prl
  121. $(QMAKE) -spec ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/default -unix CONFIG+=debug -after OBJECTS_DIR=obj MOC_DIR=moc UI_DIR=ui RCC_DIR=rcc -o Makefile ecards.pro
  122. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/g++.conf:
  123. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/unix.conf:
  124. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/common/linux.conf:
  125. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/qconfig.pri:
  126. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt_functions.prf:
  127. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt_config.prf:
  128. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
  129. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/default_pre.prf:
  130. deployment.pri:
  131. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/debug.prf:
  132. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/default_post.prf:
  133. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qdeclarative-boostable.prf:
  134. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/link_pkgconfig.prf:
  135. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/mobility.prf:
  136. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/warn_on.prf:
  137. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/qt.prf:
  138. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/unix/thread.prf:
  139. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/moc.prf:
  140. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/resources.prf:
  141. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/uic.prf:
  142. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/yacc.prf:
  143. ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/features/lex.prf:
  144. e:/Nokia/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libQtDeclarative.prl:
  145. e:/Nokia/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libQtGui.prl:
  146. e:/Nokia/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libQtCore.prl:
  147. qmake: FORCE
  148. @$(QMAKE) -spec ../../QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/default -unix CONFIG+=debug -after OBJECTS_DIR=obj MOC_DIR=moc UI_DIR=ui RCC_DIR=rcc -o Makefile ecards.pro
  149. dist:
  150. @$(CHK_DIR_EXISTS) obj/ecards1.0.0 || $(MKDIR) obj/ecards1.0.0
  151. $(COPY_FILE) --parents $(SOURCES) $(DIST) obj/ecards1.0.0/ && $(COPY_FILE) --parents mainwidget.h imagewidget.h cardboard.h colortools.h obj/ecards1.0.0/ && $(COPY_FILE) --parents res.qrc obj/ecards1.0.0/ && $(COPY_FILE) --parents main.cpp mainwidget.cpp imagewidget.cpp obj/ecards1.0.0/ && (cd `dirname obj/ecards1.0.0` && $(TAR) ecards1.0.0.tar ecards1.0.0 && $(COMPRESS) ecards1.0.0.tar) && $(MOVE) `dirname obj/ecards1.0.0`/ecards1.0.0.tar.gz . && $(DEL_FILE) -r obj/ecards1.0.0
  152. clean:compiler_clean
  153. -$(DEL_FILE) $(OBJECTS)
  154. -$(DEL_FILE) *~ core *.core
  155. ####### Sub-libraries
  156. distclean: clean
  157. -$(DEL_FILE) $(TARGET)
  158. -$(DEL_FILE) Makefile
  159. check: first
  160. mocclean: compiler_moc_header_clean compiler_moc_source_clean
  161. mocables: compiler_moc_header_make_all compiler_moc_source_make_all
  162. compiler_moc_header_make_all: moc/moc_mainwidget.cpp moc/moc_imagewidget.cpp moc/moc_cardboard.cpp moc/moc_colortools.cpp
  163. compiler_moc_header_clean:
  164. -$(DEL_FILE) moc/moc_mainwidget.cpp moc/moc_imagewidget.cpp moc/moc_cardboard.cpp moc/moc_colortools.cpp
  165. moc/moc_mainwidget.cpp: mainwidget.h
  166. E:/Nokia/QtSDK/Madde/targets/harmattan_10.2011.34-1_rt1.2/bin/moc.exe $(DEFINES) $(INCPATH) mainwidget.h -o moc/moc_mainwidget.cpp
  167. moc/moc_imagewidget.cpp: imagewidget.h
  168. E:/Nokia/QtSDK/Madde/targets/harmattan_10.2011.34-1_rt1.2/bin/moc.exe $(DEFINES) $(INCPATH) imagewidget.h -o moc/moc_imagewidget.cpp
  169. moc/moc_cardboard.cpp: cardboard.h
  170. E:/Nokia/QtSDK/Madde/targets/harmattan_10.2011.34-1_rt1.2/bin/moc.exe $(DEFINES) $(INCPATH) cardboard.h -o moc/moc_cardboard.cpp
  171. moc/moc_colortools.cpp: colortools.h
  172. E:/Nokia/QtSDK/Madde/targets/harmattan_10.2011.34-1_rt1.2/bin/moc.exe $(DEFINES) $(INCPATH) colortools.h -o moc/moc_colortools.cpp
  173. compiler_rcc_make_all: rcc/qrc_res.cpp
  174. compiler_rcc_clean:
  175. -$(DEL_FILE) rcc/qrc_res.cpp
  176. rcc/qrc_res.cpp: res.qrc \
  177. eCards.png \
  178. cliparts/1245945_49647078_200.png \
  179. cliparts/1246412_26679794_4.png \
  180. cliparts/1319181_79246985_4.png \
  181. cliparts/1319181_79246985_8.png \
  182. cliparts/1319176_10710515_2_200.png \
  183. cliparts/1319176_10710515_1_200.png \
  184. cliparts/1246412_26679794_3.png \
  185. cliparts/1328711_55133003_200.png \
  186. cliparts/1319181_79246985_5.png \
  187. cliparts/1319181_79246985_1.png \
  188. cliparts/1246412_26679794_2.png \
  189. cliparts/1319181_79246985_2.png \
  190. cliparts/1245946_30464171_3_200.png \
  191. cliparts/1245946_30464171_1_200.png \
  192. cliparts/1319181_79246985_6.png \
  193. cliparts/1321208_58931672_200.png \
  194. cliparts/1246412_26679794_1.png \
  195. cliparts/1319181_79246985_3.png \
  196. cliparts/1319181_79246985_7.png \
  197. cliparts/1248991_20292999_250.png \
  198. qml/GallerySheet.qml \
  199. qml/TextSheet.qml \
  200. qml/main.qml \
  201. qml/MainCard.qml \
  202. qml/CardText.qml \
  203. qml/CardImage.qml \
  204. qml/ColorSheet.qml \
  205. qml/CardBackground.qml \
  206. images/1245944_74222603_854.jpg \
  207. images/1322944_29680876_854.jpg \
  208. images/1322490_67668426_654.jpg \
  209. images/1319980_83321539_854.jpg \
  210. images/1319232_45618166_854.jpg \
  211. images/1320275_32937333_854.jpg \
  212. images/1322945_58009679_854.jpg \
  213. images/1318751_32428650_854.jpg \
  214. images/1320570_91331894_854.jpg \
  215. images/1321205_32860517_854.jpg \
  216. images/1322322_90458966_854.jpg \
  217. images/1246409_99270565_854.jpg \
  218. images/1322489_65597160_854.jpg \
  219. images/1318754_92186960_854.jpg
  220. e:/Nokia/QtSDK/Madde/targets/harmattan_10.2011.34-1_rt1.2/bin/rcc.exe -name res res.qrc -o rcc/qrc_res.cpp
  221. compiler_image_collection_make_all: ui/qmake_image_collection.cpp
  222. compiler_image_collection_clean:
  223. -$(DEL_FILE) ui/qmake_image_collection.cpp
  224. compiler_moc_source_make_all:
  225. compiler_moc_source_clean:
  226. compiler_uic_make_all:
  227. compiler_uic_clean:
  228. compiler_yacc_decl_make_all:
  229. compiler_yacc_decl_clean:
  230. compiler_yacc_impl_make_all:
  231. compiler_yacc_impl_clean:
  232. compiler_lex_make_all:
  233. compiler_lex_clean:
  234. compiler_clean: compiler_moc_header_clean compiler_rcc_clean
  235. ####### Compile
  236. obj/main.o: main.cpp mainwidget.h \
  237. cardboard.h \
  238. colortools.h
  239. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/main.o main.cpp
  240. obj/mainwidget.o: mainwidget.cpp imagewidget.h \
  241. mainwidget.h
  242. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mainwidget.o mainwidget.cpp
  243. obj/imagewidget.o: imagewidget.cpp imagewidget.h
  244. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/imagewidget.o imagewidget.cpp
  245. obj/moc_mainwidget.o: moc/moc_mainwidget.cpp
  246. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_mainwidget.o moc/moc_mainwidget.cpp
  247. obj/moc_imagewidget.o: moc/moc_imagewidget.cpp
  248. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_imagewidget.o moc/moc_imagewidget.cpp
  249. obj/moc_cardboard.o: moc/moc_cardboard.cpp
  250. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_cardboard.o moc/moc_cardboard.cpp
  251. obj/moc_colortools.o: moc/moc_colortools.cpp
  252. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_colortools.o moc/moc_colortools.cpp
  253. obj/qrc_res.o: rcc/qrc_res.cpp
  254. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qrc_res.o rcc/qrc_res.cpp
  255. ####### Install
  256. install_desktopfile: first FORCE
  257. @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/applications/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/applications/
  258. -$(INSTALL_FILE) e:/Nokia/Projects/ChristmasCards/ecards.desktop $(INSTALL_ROOT)/usr/share/applications/
  259. uninstall_desktopfile: FORCE
  260. -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/applications/ecards.desktop
  261. -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/applications/
  262. install_icon: first FORCE
  263. @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/
  264. -$(INSTALL_FILE) e:/Nokia/Projects/ChristmasCards/ecards.png $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/
  265. uninstall_icon: FORCE
  266. -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ecards.png
  267. -$(DEL_DIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/
  268. install_target: first FORCE
  269. @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/opt/ecards/bin/ || $(MKDIR) $(INSTALL_ROOT)/opt/ecards/bin/
  270. -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/opt/ecards/bin/$(QMAKE_TARGET)"
  271. uninstall_target: FORCE
  272. -$(DEL_FILE) "$(INSTALL_ROOT)/opt/ecards/bin/$(QMAKE_TARGET)"
  273. -$(DEL_DIR) $(INSTALL_ROOT)/opt/ecards/bin/
  274. install: install_desktopfile install_icon install_target FORCE
  275. uninstall: uninstall_desktopfile uninstall_icon uninstall_target FORCE
  276. FORCE: