981cc7e01bee40a364df4b728aa1c871716bec1f
[wpcreator] / src / Makefile.Debug
1 #############################################################################
2 # Makefile for building: wallpaperCreator
3 # Generated by qmake (2.01a) (Qt 4.5.0) on: Wed Nov 4 15:41:11 2009
4 # Project:  WallpaperCreator.pro
5 # Template: app
6 #############################################################################
7
8 ####### Compiler, tools and options
9
10 CC            = gcc
11 CXX           = g++
12 DEFINES       = -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
13 CFLAGS        = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
14 CXXFLAGS      = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
15 INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Idebug -I.
16 LINK          = g++
17 LFLAGS        = 
18 LIBS          = $(SUBLIBS)  -L/usr/lib -lQtGui -lQtCore -lpthread
19 AR            = ar cqs
20 RANLIB        = 
21 QMAKE         = /usr/bin/qmake-qt4
22 TAR           = tar -cf
23 COMPRESS      = gzip -9f
24 COPY          = cp -f
25 SED           = sed
26 COPY_FILE     = $(COPY)
27 COPY_DIR      = $(COPY) -r
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 -sf
33 DEL_DIR       = rmdir
34 MOVE          = mv -f
35 CHK_DIR_EXISTS= test -d
36 MKDIR         = mkdir -p
37
38 ####### Output directory
39
40 OBJECTS_DIR   = debug/
41
42 ####### Files
43
44 SOURCES       = main.cpp \
45                 mainwindow.cpp \
46                 namedialog.cpp \
47                 progressdialog.cpp debug/moc_mainwindow.cpp \
48                 debug/moc_namedialog.cpp \
49                 debug/moc_progressdialog.cpp
50 OBJECTS       = debug/main.o \
51                 debug/mainwindow.o \
52                 debug/namedialog.o \
53                 debug/progressdialog.o \
54                 debug/moc_mainwindow.o \
55                 debug/moc_namedialog.o \
56                 debug/moc_progressdialog.o
57 DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
58                 /usr/share/qt4/mkspecs/common/unix.conf \
59                 /usr/share/qt4/mkspecs/common/linux.conf \
60                 /usr/share/qt4/mkspecs/qconfig.pri \
61                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
62                 /usr/share/qt4/mkspecs/features/qt_config.prf \
63                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
64                 /usr/share/qt4/mkspecs/features/default_pre.prf \
65                 /usr/share/qt4/mkspecs/features/debug.prf \
66                 /usr/share/qt4/mkspecs/features/debug_and_release.prf \
67                 /usr/share/qt4/mkspecs/features/default_post.prf \
68                 /usr/share/qt4/mkspecs/features/build_pass.prf \
69                 /usr/share/qt4/mkspecs/features/warn_on.prf \
70                 /usr/share/qt4/mkspecs/features/qt.prf \
71                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
72                 /usr/share/qt4/mkspecs/features/moc.prf \
73                 /usr/share/qt4/mkspecs/features/resources.prf \
74                 /usr/share/qt4/mkspecs/features/uic.prf \
75                 /usr/share/qt4/mkspecs/features/yacc.prf \
76                 /usr/share/qt4/mkspecs/features/lex.prf \
77                 WallpaperCreator.pro
78 QMAKE_TARGET  = wallpaperCreator
79 DESTDIR       = 
80 TARGET        = wallpaperCreator
81
82 first: all
83 ####### Implicit rules
84
85 .SUFFIXES: .o .c .cpp .cc .cxx .C
86
87 .cpp.o:
88         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
89
90 .cc.o:
91         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
92
93 .cxx.o:
94         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
95
96 .C.o:
97         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
98
99 .c.o:
100         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
101
102 ####### Build rules
103
104 all: Makefile.Debug $(TARGET)
105
106 $(TARGET): ui_mainwindow.h ui_namedialog.h ui_progressdialog.h $(OBJECTS)  
107         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
108
109 qmake:  FORCE
110         @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug_and_release CONFIG+=debug -o Makefile.Debug WallpaperCreator.pro
111
112 dist: 
113         @$(CHK_DIR_EXISTS) debug/wallpaperCreator1.0.0 || $(MKDIR) debug/wallpaperCreator1.0.0 
114         $(COPY_FILE) --parents $(SOURCES) $(DIST) debug/wallpaperCreator1.0.0/ && $(COPY_FILE) --parents mainwindow.h namedialog.h progressdialog.h debug/wallpaperCreator1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp namedialog.cpp progressdialog.cpp debug/wallpaperCreator1.0.0/ && $(COPY_FILE) --parents mainwindow.ui namedialog.ui progressdialog.ui debug/wallpaperCreator1.0.0/ && (cd `dirname debug/wallpaperCreator1.0.0` && $(TAR) wallpaperCreator1.0.0.tar wallpaperCreator1.0.0 && $(COMPRESS) wallpaperCreator1.0.0.tar) && $(MOVE) `dirname debug/wallpaperCreator1.0.0`/wallpaperCreator1.0.0.tar.gz . && $(DEL_FILE) -r debug/wallpaperCreator1.0.0
115
116
117 clean:compiler_clean 
118         -$(DEL_FILE) $(OBJECTS)
119         -$(DEL_FILE) *~ core *.core
120
121
122 ####### Sub-libraries
123
124 distclean: clean
125         -$(DEL_FILE) $(TARGET) 
126         -$(DEL_FILE) Makefile.Debug
127
128
129 mocclean: compiler_moc_header_clean compiler_moc_source_clean
130
131 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
132
133 compiler_moc_header_make_all: debug/moc_mainwindow.cpp debug/moc_namedialog.cpp debug/moc_progressdialog.cpp
134 compiler_moc_header_clean:
135         -$(DEL_FILE) debug/moc_mainwindow.cpp debug/moc_namedialog.cpp debug/moc_progressdialog.cpp
136 debug/moc_mainwindow.cpp: namedialog.h \
137                 mainwindow.h
138         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) mainwindow.h -o debug/moc_mainwindow.cpp
139
140 debug/moc_namedialog.cpp: namedialog.h
141         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) namedialog.h -o debug/moc_namedialog.cpp
142
143 debug/moc_progressdialog.cpp: progressdialog.h
144         /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) progressdialog.h -o debug/moc_progressdialog.cpp
145
146 compiler_rcc_make_all:
147 compiler_rcc_clean:
148 compiler_image_collection_make_all: qmake_image_collection.cpp
149 compiler_image_collection_clean:
150         -$(DEL_FILE) qmake_image_collection.cpp
151 compiler_moc_source_make_all:
152 compiler_moc_source_clean:
153 compiler_uic_make_all: ui_mainwindow.h ui_namedialog.h ui_progressdialog.h
154 compiler_uic_clean:
155         -$(DEL_FILE) ui_mainwindow.h ui_namedialog.h ui_progressdialog.h
156 ui_mainwindow.h: mainwindow.ui
157         /usr/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.h
158
159 ui_namedialog.h: namedialog.ui
160         /usr/bin/uic-qt4 namedialog.ui -o ui_namedialog.h
161
162 ui_progressdialog.h: progressdialog.ui
163         /usr/bin/uic-qt4 progressdialog.ui -o ui_progressdialog.h
164
165 compiler_yacc_decl_make_all:
166 compiler_yacc_decl_clean:
167 compiler_yacc_impl_make_all:
168 compiler_yacc_impl_clean:
169 compiler_lex_make_all:
170 compiler_lex_clean:
171 compiler_clean: compiler_moc_header_clean compiler_uic_clean 
172
173 ####### Compile
174
175 debug/main.o: main.cpp mainwindow.h \
176                 namedialog.h
177         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/main.o main.cpp
178
179 debug/mainwindow.o: mainwindow.cpp mainwindow.h \
180                 namedialog.h \
181                 ui_mainwindow.h \
182                 progressdialog.h
183         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/mainwindow.o mainwindow.cpp
184
185 debug/namedialog.o: namedialog.cpp namedialog.h \
186                 ui_namedialog.h
187         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/namedialog.o namedialog.cpp
188
189 debug/progressdialog.o: progressdialog.cpp progressdialog.h \
190                 ui_progressdialog.h
191         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/progressdialog.o progressdialog.cpp
192
193 debug/moc_mainwindow.o: debug/moc_mainwindow.cpp 
194         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_mainwindow.o debug/moc_mainwindow.cpp
195
196 debug/moc_namedialog.o: debug/moc_namedialog.cpp 
197         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_namedialog.o debug/moc_namedialog.cpp
198
199 debug/moc_progressdialog.o: debug/moc_progressdialog.cpp 
200         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_progressdialog.o debug/moc_progressdialog.cpp
201
202 ####### Install
203
204 install:   FORCE
205
206 uninstall:   FORCE
207
208 FORCE:
209