qvolray

view Makefile @ 11:8990b5d2c7fe

moving to qt
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 09 Apr 2012 23:42:57 +0300
parents 6f275934717b
children
line source
1 #############################################################################
2 # Makefile for building: qvolray
3 # Generated by qmake (2.01a) (Qt 4.7.4) on: Mon Apr 9 23:25:44 2012
4 # Project: qvolray.pro
5 # Template: app
6 # Command: /usr/bin/qmake -o Makefile qvolray.pro
7 #############################################################################
9 ####### Compiler, tools and options
11 CC = gcc
12 CXX = g++
13 DEFINES = -DQT_WEBKIT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
16 INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -Isrc -I/usr/X11R6/include -I.
17 LINK = g++
18 LFLAGS = -Wl,-O1
19 LIBS = $(SUBLIBS) -L/usr/lib -L/usr/X11R6/lib -lQtOpenGL -lQtGui -lQtCore -lGLU -lGL -lpthread
20 AR = ar cqs
21 RANLIB =
22 QMAKE = /usr/bin/qmake
23 TAR = tar -cf
24 COMPRESS = gzip -9f
25 COPY = cp -f
26 SED = sed
27 COPY_FILE = $(COPY)
28 COPY_DIR = $(COPY) -r
29 STRIP = strip
30 INSTALL_FILE = install -m 644 -p
31 INSTALL_DIR = $(COPY_DIR)
32 INSTALL_PROGRAM = install -m 755 -p
33 DEL_FILE = rm -f
34 SYMLINK = ln -f -s
35 DEL_DIR = rmdir
36 MOVE = mv -f
37 CHK_DIR_EXISTS= test -d
38 MKDIR = mkdir -p
40 ####### Output directory
42 OBJECTS_DIR = ./
44 ####### Files
46 SOURCES = src/main.cc \
47 src/sdr.c \
48 src/volray.cc \
49 src/volume.cc
50 OBJECTS = main.o \
51 sdr.o \
52 volray.o \
53 volume.o
54 DIST = /usr/share/qt4/mkspecs/common/g++.conf \
55 /usr/share/qt4/mkspecs/common/unix.conf \
56 /usr/share/qt4/mkspecs/common/linux.conf \
57 /usr/share/qt4/mkspecs/qconfig.pri \
58 /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
59 /usr/share/qt4/mkspecs/features/qt_functions.prf \
60 /usr/share/qt4/mkspecs/features/qt_config.prf \
61 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
62 /usr/share/qt4/mkspecs/features/default_pre.prf \
63 /usr/share/qt4/mkspecs/features/release.prf \
64 /usr/share/qt4/mkspecs/features/default_post.prf \
65 /usr/share/qt4/mkspecs/features/warn_on.prf \
66 /usr/share/qt4/mkspecs/features/qt.prf \
67 /usr/share/qt4/mkspecs/features/unix/opengl.prf \
68 /usr/share/qt4/mkspecs/features/unix/thread.prf \
69 /usr/share/qt4/mkspecs/features/moc.prf \
70 /usr/share/qt4/mkspecs/features/resources.prf \
71 /usr/share/qt4/mkspecs/features/uic.prf \
72 /usr/share/qt4/mkspecs/features/yacc.prf \
73 /usr/share/qt4/mkspecs/features/lex.prf \
74 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
75 qvolray.pro
76 QMAKE_TARGET = qvolray
77 DESTDIR =
78 TARGET = qvolray
80 first: all
81 ####### Implicit rules
83 .SUFFIXES: .o .c .cpp .cc .cxx .C
85 .cpp.o:
86 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
88 .cc.o:
89 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
91 .cxx.o:
92 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
94 .C.o:
95 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
97 .c.o:
98 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
100 ####### Build rules
102 all: Makefile $(TARGET)
104 $(TARGET): $(OBJECTS)
105 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
107 Makefile: qvolray.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
108 /usr/share/qt4/mkspecs/common/unix.conf \
109 /usr/share/qt4/mkspecs/common/linux.conf \
110 /usr/share/qt4/mkspecs/qconfig.pri \
111 /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
112 /usr/share/qt4/mkspecs/features/qt_functions.prf \
113 /usr/share/qt4/mkspecs/features/qt_config.prf \
114 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
115 /usr/share/qt4/mkspecs/features/default_pre.prf \
116 /usr/share/qt4/mkspecs/features/release.prf \
117 /usr/share/qt4/mkspecs/features/default_post.prf \
118 /usr/share/qt4/mkspecs/features/warn_on.prf \
119 /usr/share/qt4/mkspecs/features/qt.prf \
120 /usr/share/qt4/mkspecs/features/unix/opengl.prf \
121 /usr/share/qt4/mkspecs/features/unix/thread.prf \
122 /usr/share/qt4/mkspecs/features/moc.prf \
123 /usr/share/qt4/mkspecs/features/resources.prf \
124 /usr/share/qt4/mkspecs/features/uic.prf \
125 /usr/share/qt4/mkspecs/features/yacc.prf \
126 /usr/share/qt4/mkspecs/features/lex.prf \
127 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
128 /usr/lib/libQtOpenGL.prl \
129 /usr/lib/libQtGui.prl \
130 /usr/lib/libQtCore.prl
131 $(QMAKE) -o Makefile qvolray.pro
132 /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/modules/qt_webkit_version.pri:
137 /usr/share/qt4/mkspecs/features/qt_functions.prf:
138 /usr/share/qt4/mkspecs/features/qt_config.prf:
139 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
140 /usr/share/qt4/mkspecs/features/default_pre.prf:
141 /usr/share/qt4/mkspecs/features/release.prf:
142 /usr/share/qt4/mkspecs/features/default_post.prf:
143 /usr/share/qt4/mkspecs/features/warn_on.prf:
144 /usr/share/qt4/mkspecs/features/qt.prf:
145 /usr/share/qt4/mkspecs/features/unix/opengl.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/libQtOpenGL.prl:
154 /usr/lib/libQtGui.prl:
155 /usr/lib/libQtCore.prl:
156 qmake: FORCE
157 @$(QMAKE) -o Makefile qvolray.pro
159 dist:
160 @$(CHK_DIR_EXISTS) .tmp/qvolray1.0.0 || $(MKDIR) .tmp/qvolray1.0.0
161 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/qvolray1.0.0/ && $(COPY_FILE) --parents src/sdr.h src/volray.h src/volume.h .tmp/qvolray1.0.0/ && $(COPY_FILE) --parents src/main.cc src/sdr.c src/volray.cc src/volume.cc .tmp/qvolray1.0.0/ && (cd `dirname .tmp/qvolray1.0.0` && $(TAR) qvolray1.0.0.tar qvolray1.0.0 && $(COMPRESS) qvolray1.0.0.tar) && $(MOVE) `dirname .tmp/qvolray1.0.0`/qvolray1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qvolray1.0.0
164 clean:compiler_clean
165 -$(DEL_FILE) $(OBJECTS)
166 -$(DEL_FILE) *~ core *.core
169 ####### Sub-libraries
171 distclean: clean
172 -$(DEL_FILE) $(TARGET)
173 -$(DEL_FILE) Makefile
176 check: first
178 mocclean: compiler_moc_header_clean compiler_moc_source_clean
180 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
182 compiler_moc_header_make_all:
183 compiler_moc_header_clean:
184 compiler_rcc_make_all:
185 compiler_rcc_clean:
186 compiler_image_collection_make_all: qmake_image_collection.cpp
187 compiler_image_collection_clean:
188 -$(DEL_FILE) qmake_image_collection.cpp
189 compiler_moc_source_make_all: main.moc
190 compiler_moc_source_clean:
191 -$(DEL_FILE) main.moc
192 main.moc: src/volray.h \
193 src/main.cc
194 /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) src/main.cc -o main.moc
196 compiler_uic_make_all:
197 compiler_uic_clean:
198 compiler_yacc_decl_make_all:
199 compiler_yacc_decl_clean:
200 compiler_yacc_impl_make_all:
201 compiler_yacc_impl_clean:
202 compiler_lex_make_all:
203 compiler_lex_clean:
204 compiler_clean: compiler_moc_source_clean
206 ####### Compile
208 main.o: src/main.cc src/volray.h
209 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o src/main.cc
211 sdr.o: src/sdr.c src/sdr.h
212 $(CC) -c $(CFLAGS) $(INCPATH) -o sdr.o src/sdr.c
214 volray.o: src/volray.cc src/sdr.h \
215 src/volume.h
216 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o volray.o src/volray.cc
218 volume.o: src/volume.cc src/volume.h
219 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o volume.o src/volume.cc
221 ####### Install
223 install: FORCE
225 uninstall: FORCE
227 FORCE: