-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.Debug
159 lines (120 loc) · 7.12 KB
/
Makefile.Debug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
#############################################################################
# Makefile for building: Calculator-1
# Generated by qmake (2.01a) (Qt 4.8.7) on: Sat Nov 30 19:34:33 2019
# Project: Calculator-1.pro
# Template: app
#############################################################################
####### Compiler, tools and options
CC = i686-w64-mingw32.static-gcc
CXX = i686-w64-mingw32.static-g++
DEFINES = -DUNICODE -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT
CFLAGS = -pipe -fno-keep-inline-dllexport -g -Wall -Wextra $(DEFINES)
CXXFLAGS = -pipe -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall -Wextra $(DEFINES)
INCPATH = -I'/home/tomek/mxe/usr/i686-w64-mingw32.static/qt/include/QtCore' -I'/home/tomek/mxe/usr/i686-w64-mingw32.static/qt/include/QtNetwork' -I'/home/tomek/mxe/usr/i686-w64-mingw32.static/qt/include/QtGui' -I'/home/tomek/mxe/usr/i686-w64-mingw32.static/qt/include' -I'/home/tomek/mxe/usr/i686-w64-mingw32.static/qt/include/ActiveQt' -I'debug' -I'.' -I'/home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/win32-g++-4.6'
LINK = i686-w64-mingw32.static-g++
LFLAGS = -mthreads -Wl,-subsystem,windows
LIBS = -L'/home/tomek/mxe/usr/i686-w64-mingw32.static/qt/lib' -lmingw32 -lqtmaind -lQtGuid -lQtNetworkd -lQtCored
QMAKE = /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/bin/qmake
IDC = /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/bin/idc
IDL = midl
ZIP = zip -r -9
DEF_FILE =
RES_FILE =
COPY = cp
SED =
COPY_FILE = $(COPY)
COPY_DIR = cp -r
DEL_FILE = rm
DEL_DIR = rmdir
MOVE = mv
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
INSTALL_FILE = $(COPY_FILE)
INSTALL_PROGRAM = $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
####### Output directory
OBJECTS_DIR = debug/
####### Files
SOURCES = main.cpp \
calculator.cpp debug/moc_calculator.cpp \
debug/qrc_res.cpp
OBJECTS = debug/main.o \
debug/calculator.o \
debug/moc_calculator.o \
debug/qrc_res.o
DIST =
QMAKE_TARGET = Calculator-1
DESTDIR = debug/ #avoid trailing-slash linebreak
TARGET = Calculator-1.exe
DESTDIR_TARGET = debug/Calculator-1.exe
####### Implicit rules
.SUFFIXES: .cpp .cc .cxx .C .c
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.C.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
first: all
all: Makefile.Debug $(DESTDIR_TARGET)
$(DESTDIR_TARGET): ui_calculator.h $(OBJECTS)
$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) $(OBJECTS) $(LIBS)
qmake: FORCE
@$(QMAKE) -o Makefile.Debug Calculator-1.pro
dist:
$(ZIP) Calculator-1.zip $(SOURCES) $(DIST) Calculator-1.pro /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/qdevice.pri /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/device_config.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/qconfig.pri /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/qt_functions.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/qt_config.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/win32-g++/qmake.conf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/exclusive_builds.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/default_pre.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/win32/default_pre.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/debug.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/debug_and_release.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/default_post.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/win32/default_post.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/build_pass.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/win32/stl.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/win32/rtti.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/win32/exceptions.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/static.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/warn_on.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/qt.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/win32/thread.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/moc.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/win32/windows.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/resources.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/uic.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/yacc.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/lex.prf /home/tomek/mxe/usr/i686-w64-mingw32.static/qt/mkspecs/features/include_source_dir.prf HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
clean: compiler_clean
-$(DEL_FILE) debug/main.o debug/calculator.o debug/moc_calculator.o debug/qrc_res.o
distclean: clean
-$(DEL_FILE) $(DESTDIR_TARGET)
-$(DEL_FILE) Makefile.Debug
check: first
mocclean: compiler_moc_header_clean compiler_moc_source_clean
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
compiler_moc_header_make_all: debug/moc_calculator.cpp
compiler_moc_header_clean:
-$(DEL_FILE) debug/moc_calculator.cpp
debug/moc_calculator.cpp: calculator.h
/home/tomek/mxe/usr/i686-w64-mingw32.static/qt/bin/moc $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 calculator.h -o debug/moc_calculator.cpp
compiler_rcc_make_all: debug/qrc_res.cpp
compiler_rcc_clean:
-$(DEL_FILE) debug/qrc_res.cpp
debug/qrc_res.cpp: res.qrc
/home/tomek/mxe/usr/i686-w64-mingw32.static/qt/bin/rcc -name res res.qrc -o debug/qrc_res.cpp
compiler_image_collection_make_all: qmake_image_collection.cpp
compiler_image_collection_clean:
-$(DEL_FILE) qmake_image_collection.cpp
compiler_moc_source_make_all:
compiler_moc_source_clean:
compiler_uic_make_all: ui_calculator.h
compiler_uic_clean:
-$(DEL_FILE) ui_calculator.h
ui_calculator.h: calculator.ui
/home/tomek/mxe/usr/i686-w64-mingw32.static/qt/bin/uic calculator.ui -o ui_calculator.h
compiler_yacc_decl_make_all:
compiler_yacc_decl_clean:
compiler_yacc_impl_make_all:
compiler_yacc_impl_clean:
compiler_lex_make_all:
compiler_lex_clean:
compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean
####### Compile
debug/main.o: main.cpp calculator.h \
qnetworkaccessmanager.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/main.o main.cpp
debug/calculator.o: calculator.cpp calculator.h \
ui_calculator.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/calculator.o calculator.cpp
debug/moc_calculator.o: debug/moc_calculator.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_calculator.o debug/moc_calculator.cpp
debug/qrc_res.o: debug/qrc_res.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/qrc_res.o debug/qrc_res.cpp
####### Install
install: FORCE
uninstall: FORCE
FORCE: