source: projects/punch-card/punch-card-editor/src/app/Makefile @ 48

Last change on this file since 48 was 48, checked in by sven, 10 years ago
  • Fixed more bugs
  • Cardeditor is now capable of writing text live using Codecs
  • Toolbars for Cardeditor, Codec changing menu
  • etc...
File size: 13.7 KB
Line 
1#############################################################################
2# Makefile for building: ../../bin/app
3# Generated by qmake (2.01a) (Qt 4.5.1) on: Mi. Dez 9 19:05:45 2009
4# Project:  app.pro
5# Template: app
6# Command: /usr/bin/qmake -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile app.pro
7#############################################################################
8
9####### Compiler, tools and options
10
11CC            = gcc
12CXX           = g++
13DEFINES       = -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
14CFLAGS        = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
15CXXFLAGS      = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
16INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I.. -I../../bin -I.
17LINK          = g++
18LFLAGS        = 
19LIBS          = $(SUBLIBS)  -L/usr/lib/qt4 -lQtGui -L/usr/lib/qt4 -L/usr/X11R6/lib -pthread -lpng -lfreetype -lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender -lXrandr -lXinerama -lfontconfig -lXext -lX11 -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
20AR            = ar cqs
21RANLIB        = 
22QMAKE         = /usr/bin/qmake
23TAR           = tar -cf
24COMPRESS      = gzip -9f
25COPY          = cp -f
26SED           = sed
27COPY_FILE     = $(COPY)
28COPY_DIR      = $(COPY) -r
29INSTALL_FILE  = install -m 644 -p
30INSTALL_DIR   = $(COPY_DIR)
31INSTALL_PROGRAM = install -m 755 -p
32DEL_FILE      = rm -f
33SYMLINK       = ln -sf
34DEL_DIR       = rmdir
35MOVE          = mv -f
36CHK_DIR_EXISTS= test -d
37MKDIR         = mkdir -p
38
39####### Output directory
40
41OBJECTS_DIR   = ../../bin/
42
43####### Files
44
45SOURCES       = ../qpunchcard/card.cc \
46                ../qpunchcard/widget.cc \
47                ../qpunchcard/format.cc \
48                ../qpunchcard/codec.cc \
49                ../qpunchcard/deckmodel.cc \
50                cardeditor.cc \
51                navigator.cc \
52                decktexteditor.cc \
53                main.cc \
54                editorwindow.cc ../../bin/moc_editorwindow.cpp \
55                ../../bin/moc_deckmodel.cpp \
56                ../../bin/moc_cardeditor.cpp \
57                ../../bin/moc_navigator.cpp \
58                ../../bin/moc_decktexteditor.cpp \
59                ../../bin/moc_deckviewer.cpp \
60                ../../bin/moc_card.cpp \
61                ../../bin/moc_format.cpp \
62                ../../bin/moc_widget.cpp
63OBJECTS       = ../../bin/card.o \
64                ../../bin/widget.o \
65                ../../bin/format.o \
66                ../../bin/codec.o \
67                ../../bin/deckmodel.o \
68                ../../bin/cardeditor.o \
69                ../../bin/navigator.o \
70                ../../bin/decktexteditor.o \
71                ../../bin/main.o \
72                ../../bin/editorwindow.o \
73                ../../bin/moc_editorwindow.o \
74                ../../bin/moc_deckmodel.o \
75                ../../bin/moc_cardeditor.o \
76                ../../bin/moc_navigator.o \
77                ../../bin/moc_decktexteditor.o \
78                ../../bin/moc_deckviewer.o \
79                ../../bin/moc_card.o \
80                ../../bin/moc_format.o \
81                ../../bin/moc_widget.o
82DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
83                /usr/share/qt4/mkspecs/common/unix.conf \
84                /usr/share/qt4/mkspecs/common/linux.conf \
85                /usr/share/qt4/mkspecs/qconfig.pri \
86                /usr/share/qt4/mkspecs/features/qt_functions.prf \
87                /usr/share/qt4/mkspecs/features/qt_config.prf \
88                /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
89                /usr/share/qt4/mkspecs/features/default_pre.prf \
90                /usr/share/qt4/mkspecs/features/debug.prf \
91                /usr/share/qt4/mkspecs/features/default_post.prf \
92                /usr/share/qt4/mkspecs/features/warn_on.prf \
93                /usr/share/qt4/mkspecs/features/qt.prf \
94                /usr/share/qt4/mkspecs/features/unix/thread.prf \
95                /usr/share/qt4/mkspecs/features/moc.prf \
96                /usr/share/qt4/mkspecs/features/resources.prf \
97                /usr/share/qt4/mkspecs/features/uic.prf \
98                /usr/share/qt4/mkspecs/features/yacc.prf \
99                /usr/share/qt4/mkspecs/features/lex.prf \
100                /usr/share/qt4/mkspecs/features/include_source_dir.prf \
101                app.pro
102QMAKE_TARGET  = app
103DESTDIR       = ../../bin/
104TARGET        = ../../bin/app
105
106first: all
107####### Implicit rules
108
109.SUFFIXES: .o .c .cpp .cc .cxx .C
110
111.cpp.o:
112        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
113
114.cc.o:
115        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
116
117.cxx.o:
118        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
119
120.C.o:
121        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
122
123.c.o:
124        $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
125
126####### Build rules
127
128all: Makefile $(TARGET)
129
130$(TARGET):  $(OBJECTS) 
131        @$(CHK_DIR_EXISTS) ../../bin/ || $(MKDIR) ../../bin/
132        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
133
134Makefile: app.pro  /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
135                /usr/share/qt4/mkspecs/common/unix.conf \
136                /usr/share/qt4/mkspecs/common/linux.conf \
137                /usr/share/qt4/mkspecs/qconfig.pri \
138                /usr/share/qt4/mkspecs/features/qt_functions.prf \
139                /usr/share/qt4/mkspecs/features/qt_config.prf \
140                /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
141                /usr/share/qt4/mkspecs/features/default_pre.prf \
142                /usr/share/qt4/mkspecs/features/debug.prf \
143                /usr/share/qt4/mkspecs/features/default_post.prf \
144                /usr/share/qt4/mkspecs/features/warn_on.prf \
145                /usr/share/qt4/mkspecs/features/qt.prf \
146                /usr/share/qt4/mkspecs/features/unix/thread.prf \
147                /usr/share/qt4/mkspecs/features/moc.prf \
148                /usr/share/qt4/mkspecs/features/resources.prf \
149                /usr/share/qt4/mkspecs/features/uic.prf \
150                /usr/share/qt4/mkspecs/features/yacc.prf \
151                /usr/share/qt4/mkspecs/features/lex.prf \
152                /usr/share/qt4/mkspecs/features/include_source_dir.prf \
153                /usr/lib/qt4/libQtGui.prl \
154                /usr/lib/qt4/libQtCore.prl
155        $(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile app.pro
156/usr/share/qt4/mkspecs/common/g++.conf:
157/usr/share/qt4/mkspecs/common/unix.conf:
158/usr/share/qt4/mkspecs/common/linux.conf:
159/usr/share/qt4/mkspecs/qconfig.pri:
160/usr/share/qt4/mkspecs/features/qt_functions.prf:
161/usr/share/qt4/mkspecs/features/qt_config.prf:
162/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
163/usr/share/qt4/mkspecs/features/default_pre.prf:
164/usr/share/qt4/mkspecs/features/debug.prf:
165/usr/share/qt4/mkspecs/features/default_post.prf:
166/usr/share/qt4/mkspecs/features/warn_on.prf:
167/usr/share/qt4/mkspecs/features/qt.prf:
168/usr/share/qt4/mkspecs/features/unix/thread.prf:
169/usr/share/qt4/mkspecs/features/moc.prf:
170/usr/share/qt4/mkspecs/features/resources.prf:
171/usr/share/qt4/mkspecs/features/uic.prf:
172/usr/share/qt4/mkspecs/features/yacc.prf:
173/usr/share/qt4/mkspecs/features/lex.prf:
174/usr/share/qt4/mkspecs/features/include_source_dir.prf:
175/usr/lib/qt4/libQtGui.prl:
176/usr/lib/qt4/libQtCore.prl:
177qmake:  FORCE
178        @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile app.pro
179
180dist: 
181        @$(CHK_DIR_EXISTS) ../../bin/app1.0.0 || $(MKDIR) ../../bin/app1.0.0
182        $(COPY_FILE) --parents $(SOURCES) $(DIST) ../../bin/app1.0.0/ && $(COPY_FILE) --parents editorwindow.h ../qpunchcard/deckmodel.h cardeditor.h navigator.h decktexteditor.h deckviewer.h ../qpunchcard/card.h ../qpunchcard/format.h ../qpunchcard/widget.h ../qpunchcard/codec.h ../qpunchcard/cardcodes.h ../../bin/app1.0.0/ && $(COPY_FILE) --parents ../qpunchcard/card.cc ../qpunchcard/widget.cc ../qpunchcard/format.cc ../qpunchcard/codec.cc ../qpunchcard/deckmodel.cc cardeditor.cc navigator.cc decktexteditor.cc main.cc editorwindow.cc ../../bin/app1.0.0/ && (cd `dirname ../../bin/app1.0.0` && $(TAR) app1.0.0.tar app1.0.0 && $(COMPRESS) app1.0.0.tar) && $(MOVE) `dirname ../../bin/app1.0.0`/app1.0.0.tar.gz . && $(DEL_FILE) -r ../../bin/app1.0.0
183
184
185clean:compiler_clean
186        -$(DEL_FILE) $(OBJECTS)
187        -$(DEL_FILE) *~ core *.core
188
189
190####### Sub-libraries
191
192distclean: clean
193        -$(DEL_FILE) $(TARGET) 
194        -$(DEL_FILE) Makefile
195
196
197mocclean: compiler_moc_header_clean compiler_moc_source_clean
198
199mocables: compiler_moc_header_make_all compiler_moc_source_make_all
200
201compiler_moc_header_make_all: ../../bin/moc_editorwindow.cpp ../../bin/moc_deckmodel.cpp ../../bin/moc_cardeditor.cpp ../../bin/moc_navigator.cpp ../../bin/moc_decktexteditor.cpp ../../bin/moc_deckviewer.cpp ../../bin/moc_card.cpp ../../bin/moc_format.cpp ../../bin/moc_widget.cpp
202compiler_moc_header_clean:
203        -$(DEL_FILE) ../../bin/moc_editorwindow.cpp ../../bin/moc_deckmodel.cpp ../../bin/moc_cardeditor.cpp ../../bin/moc_navigator.cpp ../../bin/moc_decktexteditor.cpp ../../bin/moc_deckviewer.cpp ../../bin/moc_card.cpp ../../bin/moc_format.cpp ../../bin/moc_widget.cpp
204../../bin/moc_editorwindow.cpp: navigator.h \
205                editorwindow.h \
206                cardeditor.h \
207                decktexteditor.h \
208                deckviewer.h \
209                editorwindow.h
210        /usr/bin/moc $(DEFINES) $(INCPATH) editorwindow.h -o ../../bin/moc_editorwindow.cpp
211
212../../bin/moc_deckmodel.cpp: editorwindow.h \
213                navigator.h \
214                deckviewer.h \
215                cardeditor.h \
216                decktexteditor.h \
217                ../qpunchcard/card.h \
218                ../qpunchcard/format.h \
219                ../qpunchcard/widget.h \
220                ../qpunchcard/deckmodel.h
221        /usr/bin/moc $(DEFINES) $(INCPATH) ../qpunchcard/deckmodel.h -o ../../bin/moc_deckmodel.cpp
222
223../../bin/moc_cardeditor.cpp: editorwindow.h \
224                navigator.h \
225                deckviewer.h \
226                cardeditor.h \
227                decktexteditor.h \
228                cardeditor.h
229        /usr/bin/moc $(DEFINES) $(INCPATH) cardeditor.h -o ../../bin/moc_cardeditor.cpp
230
231../../bin/moc_navigator.cpp: editorwindow.h \
232                navigator.h \
233                deckviewer.h \
234                cardeditor.h \
235                decktexteditor.h \
236                navigator.h
237        /usr/bin/moc $(DEFINES) $(INCPATH) navigator.h -o ../../bin/moc_navigator.cpp
238
239../../bin/moc_decktexteditor.cpp: cardeditor.h \
240                editorwindow.h \
241                navigator.h \
242                deckviewer.h \
243                decktexteditor.h \
244                decktexteditor.h
245        /usr/bin/moc $(DEFINES) $(INCPATH) decktexteditor.h -o ../../bin/moc_decktexteditor.cpp
246
247../../bin/moc_deckviewer.cpp: editorwindow.h \
248                navigator.h \
249                deckviewer.h \
250                cardeditor.h \
251                decktexteditor.h \
252                deckviewer.h
253        /usr/bin/moc $(DEFINES) $(INCPATH) deckviewer.h -o ../../bin/moc_deckviewer.cpp
254
255../../bin/moc_card.cpp: ../qpunchcard/format.h \
256                ../qpunchcard/card.h \
257                ../qpunchcard/card.h
258        /usr/bin/moc $(DEFINES) $(INCPATH) ../qpunchcard/card.h -o ../../bin/moc_card.cpp
259
260../../bin/moc_format.cpp: ../qpunchcard/card.h \
261                ../qpunchcard/format.h \
262                ../qpunchcard/format.h
263        /usr/bin/moc $(DEFINES) $(INCPATH) ../qpunchcard/format.h -o ../../bin/moc_format.cpp
264
265../../bin/moc_widget.cpp: ../qpunchcard/card.h \
266                ../qpunchcard/format.h \
267                ../qpunchcard/widget.h
268        /usr/bin/moc $(DEFINES) $(INCPATH) ../qpunchcard/widget.h -o ../../bin/moc_widget.cpp
269
270compiler_rcc_make_all:
271compiler_rcc_clean:
272compiler_image_collection_make_all: qmake_image_collection.cpp
273compiler_image_collection_clean:
274        -$(DEL_FILE) qmake_image_collection.cpp
275compiler_moc_source_make_all:
276compiler_moc_source_clean:
277compiler_uic_make_all:
278compiler_uic_clean:
279compiler_yacc_decl_make_all:
280compiler_yacc_decl_clean:
281compiler_yacc_impl_make_all:
282compiler_yacc_impl_clean:
283compiler_lex_make_all:
284compiler_lex_clean:
285compiler_clean: compiler_moc_header_clean
286
287####### Compile
288
289../../bin/card.o: ../qpunchcard/card.cc ../qpunchcard/card.h \
290                ../qpunchcard/format.h
291        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/card.o ../qpunchcard/card.cc
292
293../../bin/widget.o: ../qpunchcard/widget.cc ../qpunchcard/widget.h \
294                ../qpunchcard/card.h \
295                ../qpunchcard/format.h
296        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/widget.o ../qpunchcard/widget.cc
297
298../../bin/format.o: ../qpunchcard/format.cc ../qpunchcard/format.h \
299                ../qpunchcard/card.h
300        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/format.o ../qpunchcard/format.cc
301
302../../bin/codec.o: ../qpunchcard/codec.cc ../qpunchcard/codec.h \
303                ../qpunchcard/card.h \
304                ../qpunchcard/format.h \
305                ../qpunchcard/cardcodes.h
306        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/codec.o ../qpunchcard/codec.cc
307
308../../bin/deckmodel.o: ../qpunchcard/deckmodel.cc ../qpunchcard/deckmodel.h \
309                editorwindow.h \
310                navigator.h \
311                deckviewer.h \
312                cardeditor.h \
313                decktexteditor.h \
314                ../qpunchcard/card.h \
315                ../qpunchcard/format.h \
316                ../qpunchcard/widget.h
317        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/deckmodel.o ../qpunchcard/deckmodel.cc
318
319../../bin/cardeditor.o: cardeditor.cc cardeditor.h \
320                editorwindow.h \
321                navigator.h \
322                deckviewer.h \
323                decktexteditor.h
324        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/cardeditor.o cardeditor.cc
325
326../../bin/navigator.o: navigator.cc navigator.h \
327                editorwindow.h \
328                cardeditor.h \
329                decktexteditor.h \
330                deckviewer.h
331        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/navigator.o navigator.cc
332
333../../bin/decktexteditor.o: decktexteditor.cc decktexteditor.h \
334                cardeditor.h \
335                editorwindow.h \
336                navigator.h \
337                deckviewer.h
338        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/decktexteditor.o decktexteditor.cc
339
340../../bin/main.o: main.cc editorwindow.h \
341                navigator.h \
342                deckviewer.h \
343                cardeditor.h \
344                decktexteditor.h
345        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/main.o main.cc
346
347../../bin/editorwindow.o: editorwindow.cc editorwindow.h \
348                navigator.h \
349                deckviewer.h \
350                cardeditor.h \
351                decktexteditor.h
352        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/editorwindow.o editorwindow.cc
353
354../../bin/moc_editorwindow.o: ../../bin/moc_editorwindow.cpp
355        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_editorwindow.o ../../bin/moc_editorwindow.cpp
356
357../../bin/moc_deckmodel.o: ../../bin/moc_deckmodel.cpp
358        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_deckmodel.o ../../bin/moc_deckmodel.cpp
359
360../../bin/moc_cardeditor.o: ../../bin/moc_cardeditor.cpp
361        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_cardeditor.o ../../bin/moc_cardeditor.cpp
362
363../../bin/moc_navigator.o: ../../bin/moc_navigator.cpp
364        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_navigator.o ../../bin/moc_navigator.cpp
365
366../../bin/moc_decktexteditor.o: ../../bin/moc_decktexteditor.cpp
367        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_decktexteditor.o ../../bin/moc_decktexteditor.cpp
368
369../../bin/moc_deckviewer.o: ../../bin/moc_deckviewer.cpp
370        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_deckviewer.o ../../bin/moc_deckviewer.cpp
371
372../../bin/moc_card.o: ../../bin/moc_card.cpp
373        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_card.o ../../bin/moc_card.cpp
374
375../../bin/moc_format.o: ../../bin/moc_format.cpp
376        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_format.o ../../bin/moc_format.cpp
377
378../../bin/moc_widget.o: ../../bin/moc_widget.cpp
379        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_widget.o ../../bin/moc_widget.cpp
380
381####### Install
382
383install:   FORCE
384
385uninstall:   FORCE
386
387FORCE:
388
Note: See TracBrowser for help on using the repository browser.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License