source: projects/punch-card/punch-card-editor/src/libs/qextserialport/examples/qespta/Makefile.Release @ 53

Last change on this file since 53 was 53, checked in by sven, 10 years ago

Punch Card Editor, ongoing development

  • Extended new Deck interface, expanding the undo framework
  • Implemented editor changes via undo framework
  • revised the menu and toolbar actions and structure (now dynamic construction at deck load time), implemented undo viewer
  • Started implementation of device driver framework in menu
  • Embedded the Qextserialport library (http://qextserialport.sourceforge.net/)
  • Started the Documation M200 Client device driver (well, just created the directory structure and qmake project file infrastructure)
  • At the current state, the complete project compiles :-)

Statistics: About 3500 Lines of code (without libqextserialport)

-- sven @ workstation

  • Property svn:executable set to *
File size: 6.2 KB
Line 
1#############################################################################
2# Makefile for building: qespta
3# Generated by qmake (2.00a) (Qt 4.1.4) on: N 25. mar 00:32:53 2007
4# Project:  qespta.pro
5# Template: app
6#############################################################################
7
8####### Compiler, tools and options
9
10CC            = gcc
11CXX           = g++
12LEX           = flex
13YACC          = byacc
14DEFINES       = -D_TTY_WIN_ -DQWT_DLL -DQT_DLL -DQT_THREAD_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN
15CFLAGS        = -O2 -O2 -Wall $(DEFINES)
16CXXFLAGS      = -O2 -O2 -Wall -frtti -fexceptions $(DEFINES)
17LEXFLAGS      =
18YACCFLAGS     = -d
19INCPATH       = -I"E:/Winprogs/Qt/include/QtCore" -I"E:/Winprogs/Qt/include/QtGui" -I"E:/Winprogs/Qt/include" -I"..\.." -I"E:/Winprogs/Qt/include/ActiveQt" -I"moc" -I"uic" -I"e:\Winprogs\Qt\mkspecs\win32-g++"
20LINK        =        g++
21LFLAGS        =        -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,-s -Wl,-subsystem,windows
22LIBS        =        -L"..\..\build" -L"e:\Winprogs\Qt\lib" -lmingw32 -lqtmain -lqextserialport -lQtGui4 -lQtCore4
23QMAKE         = e:\Winprogs\Qt\qmake
24IDC           = e:\Winprogs\Qt\bin\idc.exe
25IDL           = midl
26ZIP           = zip -r -9
27DEF_FILE      =
28RES_FILE      =
29COPY          = copy /y
30COPY_FILE     = $(COPY)
31COPY_DIR      = xcopy /s /q /y /i
32DEL_FILE      = del
33DEL_DIR       = rmdir
34MOVE          = move
35CHK_DIR_EXISTS= if not exist
36MKDIR         = mkdir
37INSTALL_FILE  = $(COPY_FILE)
38INSTALL_DIR   = $(COPY_DIR)
39
40####### Output directory
41
42OBJECTS_DIR   = obj
43
44####### Files
45
46SOURCES       = main.cpp \
47                MainWindow.cpp \
48                MessageWindow.cpp \
49                QespTest.cpp moc\moc_MainWindow.cpp \
50                moc\moc_MessageWindow.cpp \
51                moc\moc_QespTest.cpp
52OBJECTS       = obj\main.o \
53                obj\MainWindow.o \
54                obj\MessageWindow.o \
55                obj\QespTest.o \
56                obj\moc_MainWindow.o \
57                obj\moc_MessageWindow.o \
58                obj\moc_QespTest.o
59DIST          =
60QMAKE_TARGET  = qespta
61DESTDIR        = release\ #avoid trailing-slash linebreak
62TARGET         = qespta.exe
63DESTDIR_TARGET = release\qespta.exe
64
65####### Implicit rules
66
67.SUFFIXES: .c .cpp .cc .cxx
68
69.cpp.o:
70        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
71
72.cc.o:
73        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
74
75.cxx.o:
76        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
77
78.c.o:
79        $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
80
81####### Build rules
82
83first: all
84all: Makefile.Release  $(DESTDIR_TARGET)
85
86$(DESTDIR_TARGET):  $(OBJECTS)
87        $(LINK) $(LFLAGS) -o "$(DESTDIR_TARGET)" $(OBJECTS)  $(LIBS)
88
89
90qmake:  FORCE
91        @$(QMAKE) -win32 -o Makefile.Release qespta.pro
92
93dist:
94        $(ZIP) qespta.zip $(SOURCES) $(DIST) qespta.pro E:/Winprogs/Qt/mkspecs/qconfig.pri e:\Winprogs\Qt\mkspecs\features\qt_config.prf e:\Winprogs\Qt\mkspecs\features\exclusive_builds.prf e:\Winprogs\Qt\mkspecs\features\default_pre.prf e:\Winprogs\Qt\mkspecs\features\win32\default_pre.prf e:\Winprogs\Qt\mkspecs\features\release.prf e:\Winprogs\Qt\mkspecs\features\debug_and_release.prf e:\Winprogs\Qt\mkspecs\features\default_post.prf e:\Winprogs\Qt\mkspecs\features\build_pass.prf e:\Winprogs\Qt\mkspecs\features\Release.prf e:\Winprogs\Qt\mkspecs\features\warn_on.prf e:\Winprogs\Qt\mkspecs\features\win32\thread.prf e:\Winprogs\Qt\mkspecs\features\qt.prf e:\Winprogs\Qt\mkspecs\features\moc.prf e:\Winprogs\Qt\mkspecs\features\win32\rtti.prf e:\Winprogs\Qt\mkspecs\features\win32\exceptions.prf e:\Winprogs\Qt\mkspecs\features\win32\stl.prf e:\Winprogs\Qt\mkspecs\features\shared.prf e:\Winprogs\Qt\mkspecs\features\win32\windows.prf e:\Winprogs\Qt\mkspecs\features\resources.prf e:\Winprogs\Qt\mkspecs\features\uic.prf e:\Winprogs\Qt\lib\qtmain.prl  HEADERS RESOURCES IMAGES SOURCES FORMS
95
96clean: compiler_clean
97        -$(DEL_FILE) obj\main.o obj\MainWindow.o obj\MessageWindow.o obj\QespTest.o obj\moc_MainWindow.o obj\moc_MessageWindow.o obj\moc_QespTest.o
98
99distclean: clean
100        -$(DEL_FILE) "$(DESTDIR_TARGET)"
101        -$(DEL_FILE) Makefile.Release
102
103mocclean: compiler_moc_header_clean compiler_moc_source_clean
104
105mocables: compiler_moc_header_make_all compiler_moc_source_make_all
106
107compiler_moc_header_make_all: moc\moc_MainWindow.cpp moc\moc_MessageWindow.cpp moc\moc_QespTest.cpp
108compiler_moc_header_clean:
109        -$(DEL_FILE) moc\moc_MainWindow.cpp moc\moc_MessageWindow.cpp moc\moc_QespTest.cpp
110moc\moc_MainWindow.cpp: MainWindow.h
111        e:\Winprogs\Qt\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 MainWindow.h -o moc\moc_MainWindow.cpp
112
113moc\moc_MessageWindow.cpp: MessageWindow.h
114        e:\Winprogs\Qt\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 MessageWindow.h -o moc\moc_MessageWindow.cpp
115
116moc\moc_QespTest.cpp: QespTest.h
117        e:\Winprogs\Qt\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 QespTest.h -o moc\moc_QespTest.cpp
118
119compiler_rcc_make_all:
120compiler_rcc_clean:
121compiler_image_collection_make_all:
122compiler_image_collection_clean:
123        -$(DEL_FILE) qmake_image_collection.cpp
124compiler_moc_source_make_all:
125compiler_moc_source_clean:
126compiler_uic_make_all:
127compiler_uic_clean:
128compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean
129
130
131
132####### Compile
133
134obj\main.o: main.cpp defs.h \
135                MainWindow.h \
136                MessageWindow.h
137        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj\main.o main.cpp
138
139obj\MainWindow.o: MainWindow.cpp defs.h \
140                MainWindow.h \
141                MessageWindow.h \
142                QespTest.h
143        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj\MainWindow.o MainWindow.cpp
144
145obj\MessageWindow.o: MessageWindow.cpp MessageWindow.h
146        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj\MessageWindow.o MessageWindow.cpp
147
148obj\QespTest.o: QespTest.cpp qesptest.h
149        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj\QespTest.o QespTest.cpp
150
151obj\moc_MainWindow.o: moc\moc_MainWindow.cpp
152        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj\moc_MainWindow.o moc\moc_MainWindow.cpp
153
154obj\moc_MessageWindow.o: moc\moc_MessageWindow.cpp
155        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj\moc_MessageWindow.o moc\moc_MessageWindow.cpp
156
157obj\moc_QespTest.o: moc\moc_QespTest.cpp
158        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj\moc_QespTest.o moc\moc_QespTest.cpp
159
160####### Install
161
162install:   FORCE
163
164uninstall:   FORCE
165
166FORCE:
167
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