[906] | 1 | #############################################################################
|
---|
| 2 | # Makefile for building: XmlTools
|
---|
| 3 | # Generated by qmake (2.01a) (Qt 4.8.1) on: sex 10. Jan 22:50:58 2014
|
---|
| 4 | # Project: XmlTools.pro
|
---|
| 5 | # Template: app
|
---|
| 6 | #############################################################################
|
---|
| 7 |
|
---|
| 8 | ####### Compiler, tools and options
|
---|
| 9 |
|
---|
| 10 | CC = gcc
|
---|
| 11 | CXX = g++
|
---|
| 12 | DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT
|
---|
| 13 | CFLAGS = -g -Wall $(DEFINES)
|
---|
| 14 | CXXFLAGS = -g -frtti -fexceptions -mthreads -Wall $(DEFINES)
|
---|
| 15 | INCPATH = -I"..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\include\QtCore" -I"..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\include\QtGui" -I"..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\include\QtScript" -I"..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\include" -I"libs" -I"..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\include\ActiveQt" -I"debug" -I"..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\win32-g++"
|
---|
| 16 | LINK = g++
|
---|
| 17 | LFLAGS = -Wl,-subsystem,console -mthreads
|
---|
| 18 | LIBS = -L"c:\QtSDK\Desktop\Qt\4.8.1\mingw\lib" -lQtScriptd4 -lQtGuid4 -lQtCored4
|
---|
| 19 | QMAKE = c:\qtsdk\desktop\qt\4.8.1\mingw\bin\qmake.exe
|
---|
| 20 | IDC = c:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\idc.exe
|
---|
| 21 | IDL = midl
|
---|
| 22 | ZIP = zip -r -9
|
---|
| 23 | DEF_FILE =
|
---|
| 24 | RES_FILE =
|
---|
| 25 | COPY = copy /y
|
---|
| 26 | SED =
|
---|
| 27 | COPY_FILE = $(COPY)
|
---|
| 28 | COPY_DIR = xcopy /s /q /y /i
|
---|
| 29 | DEL_FILE = del
|
---|
| 30 | DEL_DIR = rmdir
|
---|
| 31 | MOVE = move
|
---|
| 32 | CHK_DIR_EXISTS= if not exist
|
---|
| 33 | MKDIR = mkdir
|
---|
| 34 | INSTALL_FILE = $(COPY_FILE)
|
---|
| 35 | INSTALL_PROGRAM = $(COPY_FILE)
|
---|
| 36 | INSTALL_DIR = $(COPY_DIR)
|
---|
| 37 |
|
---|
| 38 | ####### Output directory
|
---|
| 39 |
|
---|
| 40 | OBJECTS_DIR = debug
|
---|
| 41 |
|
---|
| 42 | ####### Files
|
---|
| 43 |
|
---|
| 44 | SOURCES = main.cpp \
|
---|
| 45 | libs\pugixml.cpp \
|
---|
| 46 | xmltools.cpp \
|
---|
| 47 | util.cpp debug\qrc_resources.cpp
|
---|
| 48 | OBJECTS = debug/main.o \
|
---|
| 49 | debug/pugixml.o \
|
---|
| 50 | debug/xmltools.o \
|
---|
| 51 | debug/util.o \
|
---|
| 52 | debug/qrc_resources.o
|
---|
| 53 | DIST =
|
---|
| 54 | QMAKE_TARGET = XmlTools
|
---|
| 55 | DESTDIR = debug\ #avoid trailing-slash linebreak
|
---|
| 56 | TARGET = XmlTools.exe
|
---|
| 57 | DESTDIR_TARGET = debug\XmlTools.exe
|
---|
| 58 |
|
---|
| 59 | ####### Implicit rules
|
---|
| 60 |
|
---|
| 61 | .SUFFIXES: .cpp .cc .cxx .c
|
---|
| 62 |
|
---|
| 63 | .cpp.o:
|
---|
| 64 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
|
---|
| 65 |
|
---|
| 66 | .cc.o:
|
---|
| 67 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
|
---|
| 68 |
|
---|
| 69 | .cxx.o:
|
---|
| 70 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
|
---|
| 71 |
|
---|
| 72 | .c.o:
|
---|
| 73 | $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
|
---|
| 74 |
|
---|
| 75 | ####### Build rules
|
---|
| 76 |
|
---|
| 77 | first: all
|
---|
| 78 | all: Makefile.Debug $(DESTDIR_TARGET)
|
---|
| 79 |
|
---|
| 80 | $(DESTDIR_TARGET): $(OBJECTS)
|
---|
| 81 | $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) $(OBJECTS) $(LIBS)
|
---|
| 82 |
|
---|
| 83 | qmake: FORCE
|
---|
| 84 | @$(QMAKE) -spec ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\win32-g++ CONFIG+=declarative_debug -o Makefile.Debug XmlTools.pro
|
---|
| 85 |
|
---|
| 86 | dist:
|
---|
| 87 | $(ZIP) XmlTools.zip $(SOURCES) $(DIST) XmlTools.pro ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\qconfig.pri ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\modules\qt_webkit_version.pri ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\qt_functions.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\qt_config.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\exclusive_builds.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\default_pre.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\default_pre.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\debug.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\debug_and_release.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\default_post.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\default_post.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\build_pass.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\console.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\declarative_debug.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\rtti.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\exceptions.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\stl.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\shared.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\warn_on.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\qt.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\thread.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\moc.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\resources.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\uic.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\yacc.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\lex.prf ..\..\..\..\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\include_source_dir.prf HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
|
---|
| 88 |
|
---|
| 89 | clean: compiler_clean
|
---|
| 90 | -$(DEL_FILE) debug\main.o debug\pugixml.o debug\xmltools.o debug\util.o debug\qrc_resources.o
|
---|
| 91 |
|
---|
| 92 | distclean: clean
|
---|
| 93 | -$(DEL_FILE) $(DESTDIR_TARGET)
|
---|
| 94 | -$(DEL_FILE) Makefile.Debug
|
---|
| 95 |
|
---|
| 96 | check: first
|
---|
| 97 |
|
---|
| 98 | mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
---|
| 99 |
|
---|
| 100 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
---|
| 101 |
|
---|
| 102 | compiler_moc_header_make_all:
|
---|
| 103 | compiler_moc_header_clean:
|
---|
| 104 | compiler_rcc_make_all: debug/qrc_resources.cpp
|
---|
| 105 | compiler_rcc_clean:
|
---|
| 106 | -$(DEL_FILE) debug\qrc_resources.cpp
|
---|
| 107 | debug/qrc_resources.cpp: resources.qrc \
|
---|
| 108 | libs/jsxml.js \
|
---|
| 109 | libs/rexml.js
|
---|
| 110 | c:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\rcc.exe -name resources resources.qrc -o debug\qrc_resources.cpp
|
---|
| 111 |
|
---|
| 112 | compiler_image_collection_make_all: qmake_image_collection.cpp
|
---|
| 113 | compiler_image_collection_clean:
|
---|
| 114 | -$(DEL_FILE) qmake_image_collection.cpp
|
---|
| 115 | compiler_moc_source_make_all:
|
---|
| 116 | compiler_moc_source_clean:
|
---|
| 117 | compiler_uic_make_all:
|
---|
| 118 | compiler_uic_clean:
|
---|
| 119 | compiler_yacc_decl_make_all:
|
---|
| 120 | compiler_yacc_decl_clean:
|
---|
| 121 | compiler_yacc_impl_make_all:
|
---|
| 122 | compiler_yacc_impl_clean:
|
---|
| 123 | compiler_lex_make_all:
|
---|
| 124 | compiler_lex_clean:
|
---|
| 125 | compiler_clean: compiler_rcc_clean
|
---|
| 126 |
|
---|
| 127 |
|
---|
| 128 |
|
---|
| 129 | ####### Compile
|
---|
| 130 |
|
---|
| 131 | debug/main.o: main.cpp main.h \
|
---|
| 132 | xmltools.h \
|
---|
| 133 | libs/pugixml.hpp \
|
---|
| 134 | libs/pugiconfig.hpp \
|
---|
| 135 | util.h
|
---|
| 136 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\main.o main.cpp
|
---|
| 137 |
|
---|
| 138 | debug/pugixml.o: libs/pugixml.cpp libs/pugixml.hpp \
|
---|
| 139 | libs/pugiconfig.hpp
|
---|
| 140 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\pugixml.o libs\pugixml.cpp
|
---|
| 141 |
|
---|
| 142 | debug/xmltools.o: xmltools.cpp xmltools.h \
|
---|
| 143 | libs/pugixml.hpp \
|
---|
| 144 | libs/pugiconfig.hpp \
|
---|
| 145 | util.h
|
---|
| 146 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\xmltools.o xmltools.cpp
|
---|
| 147 |
|
---|
| 148 | debug/util.o: util.cpp util.h
|
---|
| 149 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\util.o util.cpp
|
---|
| 150 |
|
---|
| 151 | debug/qrc_resources.o: debug/qrc_resources.cpp
|
---|
| 152 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\qrc_resources.o debug\qrc_resources.cpp
|
---|
| 153 |
|
---|
| 154 | ####### Install
|
---|
| 155 |
|
---|
| 156 | install: FORCE
|
---|
| 157 |
|
---|
| 158 | uninstall: FORCE
|
---|
| 159 |
|
---|
| 160 | FORCE:
|
---|
| 161 |
|
---|