Code: Alles auswählen
#############################################################################
# Makefile for building: simple
# Generated by qmake (2.01a) (Qt 4.5.2) on: Mi 19. Aug 14:06:06 2009
# Project: simple_plot.pro
# Template: app
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQWT_DLL -DQT_THREAD_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN
CFLAGS = -O2 -Wall $(DEFINES)
CXXFLAGS = -O2 -Wall -frtti -fexceptions -mthreads $(DEFINES)
INCPATH = -I"..\..\..\2009.03\qt\include\QtCore" -I"..\..\..\2009.03\qt\include\QtGui" -I"..\..\..\2009.03\qt\include" -I"..\..\src" -I"c:\QWT-5.2.0\src" -I"..\..\..\2009.03\qt\include\ActiveQt" -I"moc" -I"..\..\..\2009.03\qt\mkspecs\win32-g++"
LINK = g++
LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows
LIBS = -L"c:\Qt\2009.03\qt\lib" -lmingw32 -lqtmain obj\simple_resource_res.o -L../../lib -lqwt5 C:\QWT-5.2.0\lib -lqwt -lQtGui4 -lQtCore4
QMAKE = c:\Qt\2009.03\qt\bin\qmake.exe
IDC = c:\Qt\2009.03\qt\bin\idc.exe
IDL = midl
ZIP = zip -r -9
DEF_FILE =
RES_FILE = obj\simple_resource_res.o
COPY = copy /y
COPY_FILE = $(COPY)
COPY_DIR = xcopy /s /q /y /i
DEL_FILE = del
DEL_DIR = rmdir
MOVE = move
CHK_DIR_EXISTS= if not exist
MKDIR = mkdir
INSTALL_FILE = $(COPY_FILE)
INSTALL_PROGRAM = $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
####### Output directory
OBJECTS_DIR = obj
####### Files
SOURCES = simple.cpp
OBJECTS = obj/simple.o
DIST =
QMAKE_TARGET = simple
DESTDIR = ..\..\examples\bin\ #avoid trailing-slash linebreak
TARGET = simple.exe
DESTDIR_TARGET = ..\..\examples\bin\simple.exe
####### Implicit rules
.SUFFIXES: .cpp .cc .cxx .c
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
first: all
all: Makefile.Release $(DESTDIR_TARGET)
$(DESTDIR_TARGET): $(OBJECTS) obj/simple_resource_res.o
$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) $(OBJECTS) $(LIBS)
obj/simple_resource_res.o: simple_resource.rc
windres -i simple_resource.rc -o obj\simple_resource_res.o --include-dir=.
qmake: FORCE
@$(QMAKE) -win32 -o Makefile.Release simple_plot.pro
dist:
$(ZIP) simple.zip $(SOURCES) $(DIST) simple_plot.pro ..\..\..\2009.03\qt\mkspecs\qconfig.pri ..\..\..\2009.03\qt\mkspecs\features\qt_functions.prf ..\..\..\2009.03\qt\mkspecs\features\qt_config.prf ..\..\..\2009.03\qt\mkspecs\features\exclusive_builds.prf ..\..\..\2009.03\qt\mkspecs\features\default_pre.prf ..\..\..\2009.03\qt\mkspecs\features\win32\default_pre.prf ..\..\qwtconfig.pri ..\examples.pri ..\..\..\2009.03\qt\mkspecs\features\release.prf ..\..\..\2009.03\qt\mkspecs\features\debug_and_release.prf ..\..\..\2009.03\qt\mkspecs\features\default_post.prf ..\..\..\2009.03\qt\mkspecs\features\win32\default_post.prf ..\..\..\2009.03\qt\mkspecs\features\build_pass.prf ..\..\..\2009.03\qt\mkspecs\features\win32\thread.prf ..\..\..\2009.03\qt\mkspecs\features\warn_on.prf ..\..\..\2009.03\qt\mkspecs\features\qt.prf ..\..\..\2009.03\qt\mkspecs\features\moc.prf ..\..\..\2009.03\qt\mkspecs\features\win32\rtti.prf ..\..\..\2009.03\qt\mkspecs\features\win32\exceptions.prf ..\..\..\2009.03\qt\mkspecs\features\win32\stl.prf ..\..\..\2009.03\qt\mkspecs\features\shared.prf ..\..\..\2009.03\qt\mkspecs\features\win32\windows.prf ..\..\..\2009.03\qt\mkspecs\features\resources.prf ..\..\..\2009.03\qt\mkspecs\features\uic.prf ..\..\..\2009.03\qt\mkspecs\features\yacc.prf ..\..\..\2009.03\qt\mkspecs\features\lex.prf ..\..\..\2009.03\qt\mkspecs\features\include_source_dir.prf c:\Qt\2009.03\qt\lib\qtmain.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
clean: compiler_clean
-$(DEL_FILE) obj\simple.o
-$(DEL_FILE) obj\simple_resource_res.o
distclean: clean
-$(DEL_FILE) $(DESTDIR_TARGET)
-$(DEL_FILE) Makefile.Release
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:
compiler_moc_header_clean:
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:
compiler_uic_clean:
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:
####### Compile
obj/simple.o: simple.cpp ../../src/qwt_plot.h \
../../src/qwt_global.h \
../../src/qwt_array.h \
../../src/qwt_text.h \
../../src/qwt_plot_dict.h \
../../src/qwt_plot_item.h \
../../src/qwt_legend_itemmanager.h \
../../src/qwt_double_rect.h \
../../src/qwt_scale_map.h \
../../src/qwt_math.h \
../../src/qwt_plot_printfilter.h \
../../src/qwt_plot_marker.h \
../../src/qwt_plot_curve.h \
../../src/qwt_polygon.h \
../../src/qwt_data.h \
../../src/qwt_legend.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj\simple.o simple.cpp
####### Install
install: FORCE
uninstall: FORCE
FORCE: