[b939736] | 1 | ############################################################################# |
---|
| 2 | # Makefile for building: testVarieties |
---|
[84dbdb3] | 3 | # Generated by qmake (2.01a) (Qt 4.8.2) on: mar ene 5 09:32:03 2016 |
---|
[b939736] | 4 | # Project: testVarieties.pro |
---|
| 5 | # Template: app |
---|
[84dbdb3] | 6 | # Command: /usr/bin/qmake-qt4 -o Makefile testVarieties.pro |
---|
[b939736] | 7 | ############################################################################# |
---|
| 8 | |
---|
| 9 | ####### Compiler, tools and options |
---|
| 10 | |
---|
| 11 | CC = gcc |
---|
| 12 | CXX = g++ |
---|
[84dbdb3] | 13 | DEFINES = -DQT_NO_DEBUG -DQT_CORE_LIB |
---|
| 14 | CFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) |
---|
| 15 | CXXFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) |
---|
| 16 | INCPATH = -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. |
---|
| 17 | LINK = g++ |
---|
| 18 | LFLAGS = -m64 -Wl,-O1 |
---|
| 19 | LIBS = $(SUBLIBS) -L/usr/lib/x86_64-linux-gnu -lQtCore -lpthread |
---|
| 20 | AR = ar cqs |
---|
| 21 | RANLIB = |
---|
| 22 | QMAKE = /usr/bin/qmake-qt4 |
---|
| 23 | TAR = tar -cf |
---|
| 24 | COMPRESS = gzip -9f |
---|
[b939736] | 25 | COPY = cp -f |
---|
[84dbdb3] | 26 | SED = sed |
---|
| 27 | COPY_FILE = $(COPY) |
---|
| 28 | COPY_DIR = $(COPY) -r |
---|
| 29 | STRIP = strip |
---|
[b939736] | 30 | INSTALL_FILE = install -m 644 -p |
---|
[84dbdb3] | 31 | INSTALL_DIR = $(COPY_DIR) |
---|
[b939736] | 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 |
---|
[84dbdb3] | 37 | CHK_DIR_EXISTS= test -d |
---|
| 38 | MKDIR = mkdir -p |
---|
[b939736] | 39 | |
---|
| 40 | ####### Output directory |
---|
| 41 | |
---|
| 42 | OBJECTS_DIR = ./ |
---|
| 43 | |
---|
| 44 | ####### Files |
---|
| 45 | |
---|
| 46 | SOURCES = main.cpp \ |
---|
| 47 | hash.cpp \ |
---|
| 48 | polynomial.cpp |
---|
| 49 | OBJECTS = main.o \ |
---|
| 50 | hash.o \ |
---|
| 51 | polynomial.o |
---|
[84dbdb3] | 52 | DIST = /usr/share/qt4/mkspecs/common/unix.conf \ |
---|
| 53 | /usr/share/qt4/mkspecs/common/linux.conf \ |
---|
| 54 | /usr/share/qt4/mkspecs/common/gcc-base.conf \ |
---|
| 55 | /usr/share/qt4/mkspecs/common/gcc-base-unix.conf \ |
---|
| 56 | /usr/share/qt4/mkspecs/common/g++-base.conf \ |
---|
| 57 | /usr/share/qt4/mkspecs/common/g++-unix.conf \ |
---|
| 58 | /usr/share/qt4/mkspecs/qconfig.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/unix/gdb_dwarf_index.prf \ |
---|
| 66 | /usr/share/qt4/mkspecs/features/warn_on.prf \ |
---|
| 67 | /usr/share/qt4/mkspecs/features/qt.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 | testVarieties.pro |
---|
[b939736] | 76 | QMAKE_TARGET = testVarieties |
---|
[84dbdb3] | 77 | DESTDIR = |
---|
[b939736] | 78 | TARGET = testVarieties |
---|
| 79 | |
---|
| 80 | first: all |
---|
| 81 | ####### Implicit rules |
---|
| 82 | |
---|
| 83 | .SUFFIXES: .o .c .cpp .cc .cxx .C |
---|
| 84 | |
---|
| 85 | .cpp.o: |
---|
| 86 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
---|
| 87 | |
---|
| 88 | .cc.o: |
---|
| 89 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
---|
| 90 | |
---|
| 91 | .cxx.o: |
---|
| 92 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
---|
| 93 | |
---|
| 94 | .C.o: |
---|
| 95 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
---|
| 96 | |
---|
| 97 | .c.o: |
---|
| 98 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" |
---|
| 99 | |
---|
| 100 | ####### Build rules |
---|
| 101 | |
---|
| 102 | all: Makefile $(TARGET) |
---|
| 103 | |
---|
[84dbdb3] | 104 | $(TARGET): $(OBJECTS) |
---|
| 105 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) |
---|
[b939736] | 106 | |
---|
[84dbdb3] | 107 | Makefile: testVarieties.pro /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \ |
---|
| 108 | /usr/share/qt4/mkspecs/common/linux.conf \ |
---|
| 109 | /usr/share/qt4/mkspecs/common/gcc-base.conf \ |
---|
| 110 | /usr/share/qt4/mkspecs/common/gcc-base-unix.conf \ |
---|
| 111 | /usr/share/qt4/mkspecs/common/g++-base.conf \ |
---|
| 112 | /usr/share/qt4/mkspecs/common/g++-unix.conf \ |
---|
| 113 | /usr/share/qt4/mkspecs/qconfig.pri \ |
---|
| 114 | /usr/share/qt4/mkspecs/features/qt_functions.prf \ |
---|
| 115 | /usr/share/qt4/mkspecs/features/qt_config.prf \ |
---|
| 116 | /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ |
---|
| 117 | /usr/share/qt4/mkspecs/features/default_pre.prf \ |
---|
| 118 | /usr/share/qt4/mkspecs/features/release.prf \ |
---|
| 119 | /usr/share/qt4/mkspecs/features/default_post.prf \ |
---|
| 120 | /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
---|
| 121 | /usr/share/qt4/mkspecs/features/warn_on.prf \ |
---|
| 122 | /usr/share/qt4/mkspecs/features/qt.prf \ |
---|
| 123 | /usr/share/qt4/mkspecs/features/unix/thread.prf \ |
---|
| 124 | /usr/share/qt4/mkspecs/features/moc.prf \ |
---|
| 125 | /usr/share/qt4/mkspecs/features/resources.prf \ |
---|
| 126 | /usr/share/qt4/mkspecs/features/uic.prf \ |
---|
| 127 | /usr/share/qt4/mkspecs/features/yacc.prf \ |
---|
| 128 | /usr/share/qt4/mkspecs/features/lex.prf \ |
---|
| 129 | /usr/share/qt4/mkspecs/features/include_source_dir.prf |
---|
| 130 | $(QMAKE) -o Makefile testVarieties.pro |
---|
| 131 | /usr/share/qt4/mkspecs/common/unix.conf: |
---|
| 132 | /usr/share/qt4/mkspecs/common/linux.conf: |
---|
| 133 | /usr/share/qt4/mkspecs/common/gcc-base.conf: |
---|
| 134 | /usr/share/qt4/mkspecs/common/gcc-base-unix.conf: |
---|
| 135 | /usr/share/qt4/mkspecs/common/g++-base.conf: |
---|
| 136 | /usr/share/qt4/mkspecs/common/g++-unix.conf: |
---|
| 137 | /usr/share/qt4/mkspecs/qconfig.pri: |
---|
| 138 | /usr/share/qt4/mkspecs/features/qt_functions.prf: |
---|
| 139 | /usr/share/qt4/mkspecs/features/qt_config.prf: |
---|
| 140 | /usr/share/qt4/mkspecs/features/exclusive_builds.prf: |
---|
| 141 | /usr/share/qt4/mkspecs/features/default_pre.prf: |
---|
| 142 | /usr/share/qt4/mkspecs/features/release.prf: |
---|
| 143 | /usr/share/qt4/mkspecs/features/default_post.prf: |
---|
| 144 | /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: |
---|
| 145 | /usr/share/qt4/mkspecs/features/warn_on.prf: |
---|
| 146 | /usr/share/qt4/mkspecs/features/qt.prf: |
---|
| 147 | /usr/share/qt4/mkspecs/features/unix/thread.prf: |
---|
| 148 | /usr/share/qt4/mkspecs/features/moc.prf: |
---|
| 149 | /usr/share/qt4/mkspecs/features/resources.prf: |
---|
| 150 | /usr/share/qt4/mkspecs/features/uic.prf: |
---|
| 151 | /usr/share/qt4/mkspecs/features/yacc.prf: |
---|
| 152 | /usr/share/qt4/mkspecs/features/lex.prf: |
---|
| 153 | /usr/share/qt4/mkspecs/features/include_source_dir.prf: |
---|
| 154 | qmake: FORCE |
---|
| 155 | @$(QMAKE) -o Makefile testVarieties.pro |
---|
| 156 | |
---|
| 157 | dist: |
---|
| 158 | @$(CHK_DIR_EXISTS) .tmp/testVarieties1.0.0 || $(MKDIR) .tmp/testVarieties1.0.0 |
---|
| 159 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/testVarieties1.0.0/ && $(COPY_FILE) --parents hash.h polynomial.h resource.h types.h .tmp/testVarieties1.0.0/ && $(COPY_FILE) --parents main.cpp hash.cpp polynomial.cpp .tmp/testVarieties1.0.0/ && (cd `dirname .tmp/testVarieties1.0.0` && $(TAR) testVarieties1.0.0.tar testVarieties1.0.0 && $(COMPRESS) testVarieties1.0.0.tar) && $(MOVE) `dirname .tmp/testVarieties1.0.0`/testVarieties1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/testVarieties1.0.0 |
---|
| 160 | |
---|
| 161 | |
---|
| 162 | clean:compiler_clean |
---|
[b939736] | 163 | -$(DEL_FILE) $(OBJECTS) |
---|
| 164 | -$(DEL_FILE) *~ core *.core |
---|
| 165 | |
---|
| 166 | |
---|
[84dbdb3] | 167 | ####### Sub-libraries |
---|
| 168 | |
---|
| 169 | distclean: clean |
---|
[b939736] | 170 | -$(DEL_FILE) $(TARGET) |
---|
| 171 | -$(DEL_FILE) Makefile |
---|
| 172 | |
---|
| 173 | |
---|
[84dbdb3] | 174 | check: first |
---|
[b939736] | 175 | |
---|
| 176 | mocclean: compiler_moc_header_clean compiler_moc_source_clean |
---|
| 177 | |
---|
| 178 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
---|
| 179 | |
---|
| 180 | compiler_moc_header_make_all: |
---|
| 181 | compiler_moc_header_clean: |
---|
[84dbdb3] | 182 | compiler_rcc_make_all: |
---|
| 183 | compiler_rcc_clean: |
---|
| 184 | compiler_image_collection_make_all: qmake_image_collection.cpp |
---|
| 185 | compiler_image_collection_clean: |
---|
| 186 | -$(DEL_FILE) qmake_image_collection.cpp |
---|
[b939736] | 187 | compiler_moc_source_make_all: |
---|
| 188 | compiler_moc_source_clean: |
---|
[84dbdb3] | 189 | compiler_uic_make_all: |
---|
| 190 | compiler_uic_clean: |
---|
[b939736] | 191 | compiler_yacc_decl_make_all: |
---|
| 192 | compiler_yacc_decl_clean: |
---|
| 193 | compiler_yacc_impl_make_all: |
---|
| 194 | compiler_yacc_impl_clean: |
---|
| 195 | compiler_lex_make_all: |
---|
| 196 | compiler_lex_clean: |
---|
| 197 | compiler_clean: |
---|
| 198 | |
---|
| 199 | ####### Compile |
---|
| 200 | |
---|
[84dbdb3] | 201 | main.o: main.cpp polynomial.h \ |
---|
| 202 | hash.h \ |
---|
| 203 | types.h \ |
---|
| 204 | resource.h \ |
---|
| 205 | polinomial.hpp |
---|
[b939736] | 206 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp |
---|
| 207 | |
---|
| 208 | hash.o: hash.cpp resource.h \ |
---|
| 209 | types.h \ |
---|
| 210 | hash.h |
---|
| 211 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hash.o hash.cpp |
---|
| 212 | |
---|
| 213 | polynomial.o: polynomial.cpp polynomial.h \ |
---|
| 214 | hash.h \ |
---|
| 215 | types.h \ |
---|
[84dbdb3] | 216 | resource.h \ |
---|
| 217 | polinomial.hpp |
---|
[b939736] | 218 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o polynomial.o polynomial.cpp |
---|
| 219 | |
---|
| 220 | ####### Install |
---|
| 221 | |
---|
[84dbdb3] | 222 | install: FORCE |
---|
[b939736] | 223 | |
---|
[84dbdb3] | 224 | uninstall: FORCE |
---|
[b939736] | 225 | |
---|
| 226 | FORCE: |
---|
| 227 | |
---|