-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.Debug
More file actions
175 lines (135 loc) · 5.33 KB
/
Makefile.Debug
File metadata and controls
175 lines (135 loc) · 5.33 KB
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
#############################################################################
# Makefile for building: QtNbody
# Generated by qmake (2.01a) (Qt 4.6.2) on: Fr. Okt 7 02:06:48 2011
# Project: QtNbody.pro
# Template: app
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = i586-mingw32msvc-g++
DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB
CFLAGS = -g -Wall $(DEFINES)
CXXFLAGS = -g -Wall $(DEFINES)
INCPATH = -I"/usr/i586-mingw32msvc/qt/include/QtCore" -I"/usr/i586-mingw32msvc/qt/include/QtGui" -I"/usr/i586-mingw32msvc/qt/include" -I"." -I"debug" -I"." -I"/usr/i586-mingw32msvc/qt/include" -I"/usr/share/qt4/mkspecs/win32-g++-cross"
LINK = i586-mingw32msvc-g++
LFLAGS = -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mwindows
LIBS = -L"/usr/i586-mingw32msvc/qt/lib" -lQtGui4 -lQtCore4
QMAKE = /usr/bin/qmake-qt4
IDC = /usr/bin/idc
IDL = midl
ZIP = zip -r -9
DEF_FILE =
RES_FILE =
COPY = cp
COPY_FILE = $(COPY)
COPY_DIR = cp -r
DEL_FILE = rm -f
DEL_DIR = rm -rf
MOVE = mv
CHK_DIR_EXISTS= if not exist
MKDIR = mkdir -p
INSTALL_FILE = $(COPY_FILE)
INSTALL_PROGRAM = $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
####### Output directory
OBJECTS_DIR = debug/
####### Files
SOURCES = gui.cpp \
main.cpp \
NbPartikel.cpp \
NbVis.cpp \
scene.cpp debug/moc_gui.cpp
OBJECTS = debug/gui.o \
debug/main.o \
debug/NbPartikel.o \
debug/NbVis.o \
debug/scene.o \
debug/moc_gui.o
DIST =
QMAKE_TARGET = QtNbody
DESTDIR = debug/ #avoid trailing-slash linebreak
TARGET = QtNbody.exe
DESTDIR_TARGET = debug/QtNbody.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_gui.h $(OBJECTS)
$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) $(OBJECTS) $(LIBS)
qmake: FORCE
@$(QMAKE) -spec /usr/share/qt4/mkspecs/win32-g++-cross -unix -o Makefile.Debug QtNbody.pro
dist:
$(ZIP) QtNbody.zip $(SOURCES) $(DIST) QtNbody.pro /usr/share/qt4/mkspecs/qconfig.pri /usr/share/qt4/mkspecs/features/qt_functions.prf /usr/share/qt4/mkspecs/features/qt_config.prf /usr/share/qt4/mkspecs/features/exclusive_builds.prf /usr/share/qt4/mkspecs/features/default_pre.prf /usr/share/qt4/mkspecs/features/debug.prf /usr/share/qt4/mkspecs/features/debug_and_release.prf /usr/share/qt4/mkspecs/features/default_post.prf /usr/share/qt4/mkspecs/features/build_pass.prf /usr/share/qt4/mkspecs/features/warn_on.prf /usr/share/qt4/mkspecs/features/qt.prf /usr/share/qt4/mkspecs/features/unix/thread.prf /usr/share/qt4/mkspecs/features/moc.prf /usr/share/qt4/mkspecs/features/resources.prf /usr/share/qt4/mkspecs/features/uic.prf /usr/share/qt4/mkspecs/features/yacc.prf /usr/share/qt4/mkspecs/features/lex.prf /usr/share/qt4/mkspecs/features/include_source_dir.prf HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
clean: compiler_clean
-$(DEL_FILE) debug/gui.o debug/main.o debug/NbPartikel.o debug/NbVis.o debug/scene.o debug/moc_gui.o
distclean: clean
-$(DEL_FILE) $(DESTDIR_TARGET)
-$(DEL_FILE) Makefile.Debug
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_gui.cpp
compiler_moc_header_clean:
-$(DEL_FILE) debug/moc_gui.cpp
debug/moc_gui.cpp: ui_gui.h \
scene.h \
NbPartikel.h \
NbVis.h \
gui.h
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 gui.h -o debug/moc_gui.cpp
compiler_rcc_make_all:
compiler_rcc_clean:
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_gui.h
compiler_uic_clean:
-$(DEL_FILE) ui_gui.h
ui_gui.h: gui.ui
/usr/bin/uic-qt4 gui.ui -o ui_gui.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_uic_clean
####### Compile
debug/gui.o: gui.cpp gui.h \
ui_gui.h \
scene.h \
NbPartikel.h \
NbVis.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/gui.o gui.cpp
debug/main.o: main.cpp gui.h \
ui_gui.h \
scene.h \
NbPartikel.h \
NbVis.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/main.o main.cpp
debug/NbPartikel.o: NbPartikel.cpp NbPartikel.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/NbPartikel.o NbPartikel.cpp
debug/NbVis.o: NbVis.cpp NbVis.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/NbVis.o NbVis.cpp
debug/scene.o: scene.cpp scene.h \
NbPartikel.h \
NbVis.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/scene.o scene.cpp
debug/moc_gui.o: debug/moc_gui.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_gui.o debug/moc_gui.cpp
####### Install
install: FORCE
uninstall: FORCE
FORCE: