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

Last change on this file since 44 was 44, checked in by sven, 14 years ago

Import of the Punch Card Editor Project.
This is a C++/Qt project (using qmake) that I've started this weekend.
Of course it's supposed to be released as open source.

I've tried to start with a clean (but now still empty, of course)
directory structure. There will come the sourcecode for a complete
AVR ATmega microcontroller punch card device controller, soon.
I'm planing to finish this editing program and to implement the
communication protocol (over TTY, using some platform indepentent library).
Unfortunately that will take some time (and I don't have much time
any more...)

-- Sven @ workstation

File size: 12.9 KB
RevLine 
[44]1#############################################################################
2# Makefile for building: ../../bin/app
3# Generated by qmake (2.01a) (Qt 4.5.1) on: Di. Dez 1 18:50:34 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_card.cpp \
60                ../../bin/moc_format.cpp \
61                ../../bin/moc_widget.cpp
62OBJECTS       = ../../bin/card.o \
63                ../../bin/widget.o \
64                ../../bin/format.o \
65                ../../bin/codec.o \
66                ../../bin/deckmodel.o \
67                ../../bin/cardeditor.o \
68                ../../bin/navigator.o \
69                ../../bin/decktexteditor.o \
70                ../../bin/main.o \
71                ../../bin/editorwindow.o \
72                ../../bin/moc_editorwindow.o \
73                ../../bin/moc_deckmodel.o \
74                ../../bin/moc_cardeditor.o \
75                ../../bin/moc_navigator.o \
76                ../../bin/moc_decktexteditor.o \
77                ../../bin/moc_card.o \
78                ../../bin/moc_format.o \
79                ../../bin/moc_widget.o
80DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
81                /usr/share/qt4/mkspecs/common/unix.conf \
82                /usr/share/qt4/mkspecs/common/linux.conf \
83                /usr/share/qt4/mkspecs/qconfig.pri \
84                /usr/share/qt4/mkspecs/features/qt_functions.prf \
85                /usr/share/qt4/mkspecs/features/qt_config.prf \
86                /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
87                /usr/share/qt4/mkspecs/features/default_pre.prf \
88                /usr/share/qt4/mkspecs/features/debug.prf \
89                /usr/share/qt4/mkspecs/features/default_post.prf \
90                /usr/share/qt4/mkspecs/features/warn_on.prf \
91                /usr/share/qt4/mkspecs/features/qt.prf \
92                /usr/share/qt4/mkspecs/features/unix/thread.prf \
93                /usr/share/qt4/mkspecs/features/moc.prf \
94                /usr/share/qt4/mkspecs/features/resources.prf \
95                /usr/share/qt4/mkspecs/features/uic.prf \
96                /usr/share/qt4/mkspecs/features/yacc.prf \
97                /usr/share/qt4/mkspecs/features/lex.prf \
98                /usr/share/qt4/mkspecs/features/include_source_dir.prf \
99                app.pro
100QMAKE_TARGET  = app
101DESTDIR       = ../../bin/
102TARGET        = ../../bin/app
103
104first: all
105####### Implicit rules
106
107.SUFFIXES: .o .c .cpp .cc .cxx .C
108
109.cpp.o:
110        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
111
112.cc.o:
113        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
114
115.cxx.o:
116        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
117
118.C.o:
119        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
120
121.c.o:
122        $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
123
124####### Build rules
125
126all: Makefile $(TARGET)
127
128$(TARGET):  $(OBJECTS) 
129        @$(CHK_DIR_EXISTS) ../../bin/ || $(MKDIR) ../../bin/
130        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
131
132Makefile: app.pro  /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
133                /usr/share/qt4/mkspecs/common/unix.conf \
134                /usr/share/qt4/mkspecs/common/linux.conf \
135                /usr/share/qt4/mkspecs/qconfig.pri \
136                /usr/share/qt4/mkspecs/features/qt_functions.prf \
137                /usr/share/qt4/mkspecs/features/qt_config.prf \
138                /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
139                /usr/share/qt4/mkspecs/features/default_pre.prf \
140                /usr/share/qt4/mkspecs/features/debug.prf \
141                /usr/share/qt4/mkspecs/features/default_post.prf \
142                /usr/share/qt4/mkspecs/features/warn_on.prf \
143                /usr/share/qt4/mkspecs/features/qt.prf \
144                /usr/share/qt4/mkspecs/features/unix/thread.prf \
145                /usr/share/qt4/mkspecs/features/moc.prf \
146                /usr/share/qt4/mkspecs/features/resources.prf \
147                /usr/share/qt4/mkspecs/features/uic.prf \
148                /usr/share/qt4/mkspecs/features/yacc.prf \
149                /usr/share/qt4/mkspecs/features/lex.prf \
150                /usr/share/qt4/mkspecs/features/include_source_dir.prf \
151                /usr/lib/qt4/libQtGui.prl \
152                /usr/lib/qt4/libQtCore.prl
153        $(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile app.pro
154/usr/share/qt4/mkspecs/common/g++.conf:
155/usr/share/qt4/mkspecs/common/unix.conf:
156/usr/share/qt4/mkspecs/common/linux.conf:
157/usr/share/qt4/mkspecs/qconfig.pri:
158/usr/share/qt4/mkspecs/features/qt_functions.prf:
159/usr/share/qt4/mkspecs/features/qt_config.prf:
160/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
161/usr/share/qt4/mkspecs/features/default_pre.prf:
162/usr/share/qt4/mkspecs/features/debug.prf:
163/usr/share/qt4/mkspecs/features/default_post.prf:
164/usr/share/qt4/mkspecs/features/warn_on.prf:
165/usr/share/qt4/mkspecs/features/qt.prf:
166/usr/share/qt4/mkspecs/features/unix/thread.prf:
167/usr/share/qt4/mkspecs/features/moc.prf:
168/usr/share/qt4/mkspecs/features/resources.prf:
169/usr/share/qt4/mkspecs/features/uic.prf:
170/usr/share/qt4/mkspecs/features/yacc.prf:
171/usr/share/qt4/mkspecs/features/lex.prf:
172/usr/share/qt4/mkspecs/features/include_source_dir.prf:
173/usr/lib/qt4/libQtGui.prl:
174/usr/lib/qt4/libQtCore.prl:
175qmake:  FORCE
176        @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile app.pro
177
178dist: 
179        @$(CHK_DIR_EXISTS) ../../bin/app1.0.0 || $(MKDIR) ../../bin/app1.0.0
180        $(COPY_FILE) --parents $(SOURCES) $(DIST) ../../bin/app1.0.0/ && $(COPY_FILE) --parents editorwindow.h ../qpunchcard/deckmodel.h cardeditor.h navigator.h decktexteditor.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
181
182
183clean:compiler_clean
184        -$(DEL_FILE) $(OBJECTS)
185        -$(DEL_FILE) *~ core *.core
186
187
188####### Sub-libraries
189
190distclean: clean
191        -$(DEL_FILE) $(TARGET) 
192        -$(DEL_FILE) Makefile
193
194
195mocclean: compiler_moc_header_clean compiler_moc_source_clean
196
197mocables: compiler_moc_header_make_all compiler_moc_source_make_all
198
199compiler_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_card.cpp ../../bin/moc_format.cpp ../../bin/moc_widget.cpp
200compiler_moc_header_clean:
201        -$(DEL_FILE) ../../bin/moc_editorwindow.cpp ../../bin/moc_deckmodel.cpp ../../bin/moc_cardeditor.cpp ../../bin/moc_navigator.cpp ../../bin/moc_decktexteditor.cpp ../../bin/moc_card.cpp ../../bin/moc_format.cpp ../../bin/moc_widget.cpp
202../../bin/moc_editorwindow.cpp: navigator.h \
203                editorwindow.h \
204                cardeditor.h \
205                decktexteditor.h \
206                editorwindow.h
207        /usr/bin/moc $(DEFINES) $(INCPATH) editorwindow.h -o ../../bin/moc_editorwindow.cpp
208
209../../bin/moc_deckmodel.cpp: ../qpunchcard/card.h \
210                ../qpunchcard/format.h \
211                ../qpunchcard/widget.h \
212                ../qpunchcard/deckmodel.h
213        /usr/bin/moc $(DEFINES) $(INCPATH) ../qpunchcard/deckmodel.h -o ../../bin/moc_deckmodel.cpp
214
215../../bin/moc_cardeditor.cpp: editorwindow.h \
216                navigator.h \
217                cardeditor.h \
218                decktexteditor.h \
219                cardeditor.h
220        /usr/bin/moc $(DEFINES) $(INCPATH) cardeditor.h -o ../../bin/moc_cardeditor.cpp
221
222../../bin/moc_navigator.cpp: editorwindow.h \
223                navigator.h \
224                cardeditor.h \
225                decktexteditor.h \
226                navigator.h
227        /usr/bin/moc $(DEFINES) $(INCPATH) navigator.h -o ../../bin/moc_navigator.cpp
228
229../../bin/moc_decktexteditor.cpp: cardeditor.h \
230                editorwindow.h \
231                navigator.h \
232                decktexteditor.h \
233                decktexteditor.h
234        /usr/bin/moc $(DEFINES) $(INCPATH) decktexteditor.h -o ../../bin/moc_decktexteditor.cpp
235
236../../bin/moc_card.cpp: ../qpunchcard/format.h \
237                ../qpunchcard/card.h \
238                ../qpunchcard/card.h
239        /usr/bin/moc $(DEFINES) $(INCPATH) ../qpunchcard/card.h -o ../../bin/moc_card.cpp
240
241../../bin/moc_format.cpp: ../qpunchcard/card.h \
242                ../qpunchcard/format.h \
243                ../qpunchcard/format.h
244        /usr/bin/moc $(DEFINES) $(INCPATH) ../qpunchcard/format.h -o ../../bin/moc_format.cpp
245
246../../bin/moc_widget.cpp: ../qpunchcard/card.h \
247                ../qpunchcard/format.h \
248                ../qpunchcard/widget.h
249        /usr/bin/moc $(DEFINES) $(INCPATH) ../qpunchcard/widget.h -o ../../bin/moc_widget.cpp
250
251compiler_rcc_make_all:
252compiler_rcc_clean:
253compiler_image_collection_make_all: qmake_image_collection.cpp
254compiler_image_collection_clean:
255        -$(DEL_FILE) qmake_image_collection.cpp
256compiler_moc_source_make_all:
257compiler_moc_source_clean:
258compiler_uic_make_all:
259compiler_uic_clean:
260compiler_yacc_decl_make_all:
261compiler_yacc_decl_clean:
262compiler_yacc_impl_make_all:
263compiler_yacc_impl_clean:
264compiler_lex_make_all:
265compiler_lex_clean:
266compiler_clean: compiler_moc_header_clean
267
268####### Compile
269
270../../bin/card.o: ../qpunchcard/card.cc ../qpunchcard/card.h \
271                ../qpunchcard/format.h
272        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/card.o ../qpunchcard/card.cc
273
274../../bin/widget.o: ../qpunchcard/widget.cc ../qpunchcard/widget.h \
275                ../qpunchcard/card.h \
276                ../qpunchcard/format.h
277        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/widget.o ../qpunchcard/widget.cc
278
279../../bin/format.o: ../qpunchcard/format.cc ../qpunchcard/format.h \
280                ../qpunchcard/card.h
281        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/format.o ../qpunchcard/format.cc
282
283../../bin/codec.o: ../qpunchcard/codec.cc ../qpunchcard/codec.h \
284                ../qpunchcard/card.h \
285                ../qpunchcard/format.h \
286                ../qpunchcard/cardcodes.h
287        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/codec.o ../qpunchcard/codec.cc
288
289../../bin/deckmodel.o: ../qpunchcard/deckmodel.cc ../qpunchcard/deckmodel.h \
290                ../qpunchcard/card.h \
291                ../qpunchcard/format.h \
292                ../qpunchcard/widget.h
293        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/deckmodel.o ../qpunchcard/deckmodel.cc
294
295../../bin/cardeditor.o: cardeditor.cc cardeditor.h \
296                editorwindow.h \
297                navigator.h \
298                decktexteditor.h
299        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/cardeditor.o cardeditor.cc
300
301../../bin/navigator.o: navigator.cc navigator.h \
302                editorwindow.h \
303                cardeditor.h \
304                decktexteditor.h
305        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/navigator.o navigator.cc
306
307../../bin/decktexteditor.o: decktexteditor.cc decktexteditor.h \
308                cardeditor.h \
309                editorwindow.h \
310                navigator.h
311        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/decktexteditor.o decktexteditor.cc
312
313../../bin/main.o: main.cc editorwindow.h \
314                navigator.h \
315                cardeditor.h \
316                decktexteditor.h
317        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/main.o main.cc
318
319../../bin/editorwindow.o: editorwindow.cc editorwindow.h \
320                navigator.h \
321                cardeditor.h \
322                decktexteditor.h
323        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/editorwindow.o editorwindow.cc
324
325../../bin/moc_editorwindow.o: ../../bin/moc_editorwindow.cpp
326        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_editorwindow.o ../../bin/moc_editorwindow.cpp
327
328../../bin/moc_deckmodel.o: ../../bin/moc_deckmodel.cpp
329        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_deckmodel.o ../../bin/moc_deckmodel.cpp
330
331../../bin/moc_cardeditor.o: ../../bin/moc_cardeditor.cpp
332        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_cardeditor.o ../../bin/moc_cardeditor.cpp
333
334../../bin/moc_navigator.o: ../../bin/moc_navigator.cpp
335        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_navigator.o ../../bin/moc_navigator.cpp
336
337../../bin/moc_decktexteditor.o: ../../bin/moc_decktexteditor.cpp
338        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_decktexteditor.o ../../bin/moc_decktexteditor.cpp
339
340../../bin/moc_card.o: ../../bin/moc_card.cpp
341        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_card.o ../../bin/moc_card.cpp
342
343../../bin/moc_format.o: ../../bin/moc_format.cpp
344        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_format.o ../../bin/moc_format.cpp
345
346../../bin/moc_widget.o: ../../bin/moc_widget.cpp
347        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../../bin/moc_widget.o ../../bin/moc_widget.cpp
348
349####### Install
350
351install:   FORCE
352
353uninstall:   FORCE
354
355FORCE:
356
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