############################################################################# # Makefile for building: golfscorecard # Generated by qmake (2.01a) (Qt 4.6.2) on: pe 30. huhti 00:48:59 2010 # Project: golfscorecard.pro # Template: app ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN CFLAGS = -g -Wall $(DEFINES) CXXFLAGS = -g -frtti -fexceptions -mthreads -Wall $(DEFINES) INCPATH = -I"c:\Qt\2010.02.1\qt\include\QtCore" -I"c:\Qt\2010.02.1\qt\include\QtGui" -I"c:\Qt\2010.02.1\qt\include\QtXml" -I"c:\Qt\2010.02.1\qt\include" -I"c:\Qt\2010.02.1\qt\include\ActiveQt" -I"debug" -I"." -I"c:\Qt\2010.02.1\qt\mkspecs\win32-g++" LINK = g++ LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows LIBS = -L"c:\Qt\2010.02.1\qt\lib" -lmingw32 -lqtmaind -lQtXmld4 -lQtGuid4 -lQtCored4 QMAKE = c:\qt\2010.02.1\qt\bin\qmake.exe IDC = c:\Qt\2010.02.1\qt\bin\idc.exe IDL = midl ZIP = zip -r -9 DEF_FILE = RES_FILE = 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 = debug ####### Files SOURCES = main.cpp \ mainwindow.cpp \ newround.cpp \ xmlparser.cpp \ datahandling.cpp \ basicscorecard.cpp \ pcmanagement.cpp \ playermanagement.cpp debug\moc_mainwindow.cpp \ debug\moc_newround.cpp \ debug\moc_xmlparser.cpp \ debug\moc_datahandling.cpp \ debug\moc_basicscorecard.cpp \ debug\moc_pcmanagement.cpp \ debug\moc_playermanagement.cpp \ debug\qrc_resources.cpp OBJECTS = debug/main.o \ debug/mainwindow.o \ debug/newround.o \ debug/xmlparser.o \ debug/datahandling.o \ debug/basicscorecard.o \ debug/pcmanagement.o \ debug/playermanagement.o \ debug/moc_mainwindow.o \ debug/moc_newround.o \ debug/moc_xmlparser.o \ debug/moc_datahandling.o \ debug/moc_basicscorecard.o \ debug/moc_pcmanagement.o \ debug/moc_playermanagement.o \ debug/qrc_resources.o DIST = QMAKE_TARGET = golfscorecard DESTDIR = debug\ #avoid trailing-slash linebreak TARGET = golfscorecard.exe DESTDIR_TARGET = debug\golfscorecard.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.Debug $(DESTDIR_TARGET) $(DESTDIR_TARGET): ui_mainwindow.h ui_newround.h ui_basicscorecard.h ui_pcmanagement.h ui_playermanagement.h $(OBJECTS) $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.golfscorecard.Debug $(LIBS) qmake: FORCE @$(QMAKE) -spec c:\Qt\2010.02.1\qt\mkspecs\win32-g++ -win32 CONFIG+=release -o Makefile.Debug golfscorecard.pro dist: $(ZIP) golfscorecard.zip $(SOURCES) $(DIST) golfscorecard.pro c:\Qt\2010.02.1\qt\mkspecs\qconfig.pri c:\Qt\2010.02.1\qt\mkspecs\features\qt_functions.prf c:\Qt\2010.02.1\qt\mkspecs\features\qt_config.prf c:\Qt\2010.02.1\qt\mkspecs\features\exclusive_builds.prf c:\Qt\2010.02.1\qt\mkspecs\features\default_pre.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\default_pre.prf c:\Qt\2010.02.1\qt\mkspecs\features\debug.prf c:\Qt\2010.02.1\qt\mkspecs\features\debug_and_release.prf c:\Qt\2010.02.1\qt\mkspecs\features\default_post.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\default_post.prf c:\Qt\2010.02.1\qt\mkspecs\features\build_pass.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\rtti.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\exceptions.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\stl.prf c:\Qt\2010.02.1\qt\mkspecs\features\shared.prf c:\Qt\2010.02.1\qt\mkspecs\features\warn_on.prf c:\Qt\2010.02.1\qt\mkspecs\features\qt.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\thread.prf c:\Qt\2010.02.1\qt\mkspecs\features\moc.prf c:\Qt\2010.02.1\qt\mkspecs\features\win32\windows.prf c:\Qt\2010.02.1\qt\mkspecs\features\resources.prf c:\Qt\2010.02.1\qt\mkspecs\features\uic.prf c:\Qt\2010.02.1\qt\mkspecs\features\yacc.prf c:\Qt\2010.02.1\qt\mkspecs\features\lex.prf c:\Qt\2010.02.1\qt\mkspecs\features\include_source_dir.prf c:\Qt\2010.02.1\qt\lib\qtmaind.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES clean: compiler_clean -$(DEL_FILE) debug\main.o debug\mainwindow.o debug\newround.o debug\xmlparser.o debug\datahandling.o debug\basicscorecard.o debug\pcmanagement.o debug\playermanagement.o debug\moc_mainwindow.o debug\moc_newround.o debug\moc_xmlparser.o debug\moc_datahandling.o debug\moc_basicscorecard.o debug\moc_pcmanagement.o debug\moc_playermanagement.o debug\qrc_resources.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_mainwindow.cpp debug/moc_newround.cpp debug/moc_xmlparser.cpp debug/moc_datahandling.cpp debug/moc_basicscorecard.cpp debug/moc_pcmanagement.cpp debug/moc_playermanagement.cpp compiler_moc_header_clean: -$(DEL_FILE) debug\moc_mainwindow.cpp debug\moc_newround.cpp debug\moc_xmlparser.cpp debug\moc_datahandling.cpp debug\moc_basicscorecard.cpp debug\moc_pcmanagement.cpp debug\moc_playermanagement.cpp debug/moc_mainwindow.cpp: mainwindow.h C:/Qt/2010.02.1/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mainwindow.h -o debug\moc_mainwindow.cpp debug/moc_newround.cpp: datahandling.h \ player.h \ courses.h \ newround.h C:/Qt/2010.02.1/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 newround.h -o debug\moc_newround.cpp debug/moc_xmlparser.cpp: xmlparser.h C:/Qt/2010.02.1/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 xmlparser.h -o debug\moc_xmlparser.cpp debug/moc_datahandling.cpp: player.h \ courses.h \ datahandling.h C:/Qt/2010.02.1/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 datahandling.h -o debug\moc_datahandling.cpp debug/moc_basicscorecard.cpp: datahandling.h \ player.h \ courses.h \ basicscorecard.h C:/Qt/2010.02.1/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 basicscorecard.h -o debug\moc_basicscorecard.cpp debug/moc_pcmanagement.cpp: pcmanagement.h C:/Qt/2010.02.1/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 pcmanagement.h -o debug\moc_pcmanagement.cpp debug/moc_playermanagement.cpp: playermanagement.h C:/Qt/2010.02.1/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 playermanagement.h -o debug\moc_playermanagement.cpp compiler_rcc_make_all: debug/qrc_resources.cpp compiler_rcc_clean: -$(DEL_FILE) debug\qrc_resources.cpp debug/qrc_resources.cpp: resources.qrc \ images/new-player.png \ images/golf-icon.png \ images/arrow-left-icon.png \ images/edit-player.png \ images/edit-course.png \ images/arrow-right-icon_2.png \ images/arrow-up-icon.png \ images/new-course.png \ images/arrow-down-icon.png \ images/stats-icon.png \ images/golf-icon_2.png \ images/arrow-right-icon.png \ images/course-icon.png c:\Qt\2010.02.1\qt\bin\rcc.exe -name resources resources.qrc -o debug\qrc_resources.cpp 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_mainwindow.h ui_newround.h ui_basicscorecard.h ui_pcmanagement.h ui_playermanagement.h compiler_uic_clean: -$(DEL_FILE) ui_mainwindow.h ui_newround.h ui_basicscorecard.h ui_pcmanagement.h ui_playermanagement.h ui_mainwindow.h: mainwindow.ui c:\Qt\2010.02.1\qt\bin\uic.exe mainwindow.ui -o ui_mainwindow.h ui_newround.h: newround.ui c:\Qt\2010.02.1\qt\bin\uic.exe newround.ui -o ui_newround.h ui_basicscorecard.h: basicscorecard.ui c:\Qt\2010.02.1\qt\bin\uic.exe basicscorecard.ui -o ui_basicscorecard.h ui_pcmanagement.h: pcmanagement.ui c:\Qt\2010.02.1\qt\bin\uic.exe pcmanagement.ui -o ui_pcmanagement.h ui_playermanagement.h: playermanagement.ui c:\Qt\2010.02.1\qt\bin\uic.exe playermanagement.ui -o ui_playermanagement.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_rcc_clean compiler_uic_clean ####### Compile debug/main.o: main.cpp mainwindow.h \ datahandling.h \ player.h \ courses.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\main.o main.cpp debug/mainwindow.o: mainwindow.cpp mainwindow.h \ ui_mainwindow.h \ newround.h \ datahandling.h \ player.h \ courses.h \ pcmanagement.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\mainwindow.o mainwindow.cpp debug/newround.o: newround.cpp newround.h \ datahandling.h \ player.h \ courses.h \ ui_newround.h \ xmlparser.h \ basicscorecard.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\newround.o newround.cpp debug/xmlparser.o: xmlparser.cpp xmlparser.h \ datahandling.h \ player.h \ courses.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\xmlparser.o xmlparser.cpp debug/datahandling.o: datahandling.cpp datahandling.h \ player.h \ courses.h \ newround.h \ xmlparser.h \ basicscorecard.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\datahandling.o datahandling.cpp debug/basicscorecard.o: basicscorecard.cpp basicscorecard.h \ datahandling.h \ player.h \ courses.h \ ui_basicscorecard.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\basicscorecard.o basicscorecard.cpp debug/pcmanagement.o: pcmanagement.cpp pcmanagement.h \ ui_pcmanagement.h \ mainwindow.h \ playermanagement.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\pcmanagement.o pcmanagement.cpp debug/playermanagement.o: playermanagement.cpp playermanagement.h \ ui_playermanagement.h \ pcmanagement.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\playermanagement.o playermanagement.cpp debug/moc_mainwindow.o: debug/moc_mainwindow.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_mainwindow.o debug\moc_mainwindow.cpp debug/moc_newround.o: debug/moc_newround.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_newround.o debug\moc_newround.cpp debug/moc_xmlparser.o: debug/moc_xmlparser.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_xmlparser.o debug\moc_xmlparser.cpp debug/moc_datahandling.o: debug/moc_datahandling.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_datahandling.o debug\moc_datahandling.cpp debug/moc_basicscorecard.o: debug/moc_basicscorecard.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_basicscorecard.o debug\moc_basicscorecard.cpp debug/moc_pcmanagement.o: debug/moc_pcmanagement.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_pcmanagement.o debug\moc_pcmanagement.cpp debug/moc_playermanagement.o: debug/moc_playermanagement.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_playermanagement.o debug\moc_playermanagement.cpp debug/qrc_resources.o: debug/qrc_resources.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\qrc_resources.o debug\qrc_resources.cpp ####### Install install: FORCE uninstall: FORCE FORCE: