############################################################################# # Makefile for building: aliendefender # Generated by qmake (2.01a) (Qt 4.6.1) on: ?? 7. ??? 19:16:37 2010 # Project: aliendefender.pro # Template: app ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN CFLAGS = -g -Wall $(DEFINES) CXXFLAGS = -g -frtti -fexceptions -mthreads -Wall $(DEFINES) INCPATH = -I"d:\Qt\2010.01\qt\include\QtCore" -I"d:\Qt\2010.01\qt\include\QtNetwork" -I"d:\Qt\2010.01\qt\include\QtGui" -I"d:\Qt\2010.01\qt\include\QtOpenGL" -I"d:\Qt\2010.01\qt\include" -I"d:\Qt\2010.01\qt\include\ActiveQt" -I"debug" -I"." -I"d:\Qt\2010.01\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"d:\Qt\2010.01\qt\lib" -lopengl32 -lglu32 -lgdi32 -luser32 -lmingw32 -lqtmaind -lQtOpenGLd4 -lQtGuid4 -lQtNetworkd4 -lQtCored4 QMAKE = d:\qt\2010.01\qt\bin\qmake.exe IDC = d:\Qt\2010.01\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 \ adpainter.cpp \ aliens.cpp \ udpsender.cpp \ towers.cpp \ map.cpp \ games.cpp \ alien.cpp debug\moc_mainwindow.cpp \ debug\moc_udpsender.cpp \ debug\qrc_images.cpp OBJECTS = debug/main.o \ debug/mainwindow.o \ debug/adpainter.o \ debug/aliens.o \ debug/udpsender.o \ debug/towers.o \ debug/map.o \ debug/games.o \ debug/alien.o \ debug/moc_mainwindow.o \ debug/moc_udpsender.o \ debug/qrc_images.o DIST = QMAKE_TARGET = aliendefender DESTDIR = debug\ #avoid trailing-slash linebreak TARGET = aliendefender.exe DESTDIR_TARGET = debug\aliendefender.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 $(OBJECTS) $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.aliendefender.Debug $(LIBS) qmake: FORCE @$(QMAKE) -Wall -spec d:\Qt\2010.01\qt\mkspecs\win32-g++ -win32 -o Makefile.Debug aliendefender.pro dist: $(ZIP) aliendefender.zip $(SOURCES) $(DIST) aliendefender.pro d:\Qt\2010.01\qt\mkspecs\qconfig.pri d:\Qt\2010.01\qt\mkspecs\features\qt_functions.prf d:\Qt\2010.01\qt\mkspecs\features\qt_config.prf d:\Qt\2010.01\qt\mkspecs\features\exclusive_builds.prf d:\Qt\2010.01\qt\mkspecs\features\default_pre.prf d:\Qt\2010.01\qt\mkspecs\features\win32\default_pre.prf d:\Qt\2010.01\qt\mkspecs\features\debug.prf d:\Qt\2010.01\qt\mkspecs\features\debug_and_release.prf d:\Qt\2010.01\qt\mkspecs\features\default_post.prf d:\Qt\2010.01\qt\mkspecs\features\win32\default_post.prf d:\Qt\2010.01\qt\mkspecs\features\build_pass.prf d:\Qt\2010.01\qt\mkspecs\features\win32\rtti.prf d:\Qt\2010.01\qt\mkspecs\features\win32\exceptions.prf d:\Qt\2010.01\qt\mkspecs\features\win32\stl.prf d:\Qt\2010.01\qt\mkspecs\features\shared.prf d:\Qt\2010.01\qt\mkspecs\features\warn_on.prf d:\Qt\2010.01\qt\mkspecs\features\qt.prf d:\Qt\2010.01\qt\mkspecs\features\win32\opengl.prf d:\Qt\2010.01\qt\mkspecs\features\win32\thread.prf d:\Qt\2010.01\qt\mkspecs\features\moc.prf d:\Qt\2010.01\qt\mkspecs\features\win32\windows.prf d:\Qt\2010.01\qt\mkspecs\features\resources.prf d:\Qt\2010.01\qt\mkspecs\features\uic.prf d:\Qt\2010.01\qt\mkspecs\features\yacc.prf d:\Qt\2010.01\qt\mkspecs\features\lex.prf d:\Qt\2010.01\qt\mkspecs\features\include_source_dir.prf d:\Qt\2010.01\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\adpainter.o debug\aliens.o debug\udpsender.o debug\towers.o debug\map.o debug\games.o debug\alien.o debug\moc_mainwindow.o debug\moc_udpsender.o debug\qrc_images.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_udpsender.cpp compiler_moc_header_clean: -$(DEL_FILE) debug\moc_mainwindow.cpp debug\moc_udpsender.cpp debug/moc_mainwindow.cpp: aliens.h \ alien.h \ games.h \ basestruct.h \ map.h \ towers.h \ udpsender.h \ mainwindow.h D:/Qt/2010.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mainwindow.h -o debug\moc_mainwindow.cpp debug/moc_udpsender.cpp: udpsender.h D:/Qt/2010.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 udpsender.h -o debug\moc_udpsender.cpp compiler_rcc_make_all: debug/qrc_images.cpp compiler_rcc_clean: -$(DEL_FILE) debug\qrc_images.cpp debug/qrc_images.cpp: images.qrc \ images/Aliens/Al_00_12.png \ images/Aliens/Al_00_6.png \ images/Aliens/Al_00_2.png \ images/Aliens/Al_00_17.png \ images/Aliens/Al_00_13.png \ images/Aliens/Al_00_7.png \ images/Aliens/Al_00_3.png \ images/Aliens/Al_00_18.png \ images/Aliens/Al_00_10.png \ images/Aliens/Al_00_14.png \ images/Aliens/Al_00_8.png \ images/Aliens/Al_00_4.png \ images/Aliens/Al_00_0.png \ images/Aliens/Al_00_19.png \ images/Aliens/Al_00_11.png \ images/Aliens/Al_00_15.png \ images/Aliens/Al_00_9.png \ images/Aliens/Al_00_5.png \ images/Aliens/Al_00_1.png \ images/Aliens/Al_00_16.png d:\Qt\2010.01\qt\bin\rcc.exe -name images images.qrc -o debug\qrc_images.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 compiler_uic_clean: -$(DEL_FILE) ui_mainwindow.h ui_mainwindow.h: mainwindow.ui d:\Qt\2010.01\qt\bin\uic.exe mainwindow.ui -o ui_mainwindow.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 \ aliens.h \ alien.h \ games.h \ basestruct.h \ map.h \ towers.h \ udpsender.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\main.o main.cpp debug/mainwindow.o: mainwindow.cpp mainwindow.h \ aliens.h \ alien.h \ games.h \ basestruct.h \ map.h \ towers.h \ udpsender.h \ ui_mainwindow.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\mainwindow.o mainwindow.cpp debug/adpainter.o: adpainter.cpp adpainter.h \ alien.h \ games.h \ basestruct.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\adpainter.o adpainter.cpp debug/aliens.o: aliens.cpp aliens.h \ alien.h \ games.h \ basestruct.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\aliens.o aliens.cpp debug/udpsender.o: udpsender.cpp udpsender.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\udpsender.o udpsender.cpp debug/towers.o: towers.cpp towers.h \ games.h \ basestruct.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\towers.o towers.cpp debug/map.o: map.cpp map.h \ games.h \ basestruct.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\map.o map.cpp debug/games.o: games.cpp games.h \ basestruct.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\games.o games.cpp debug/alien.o: alien.cpp alien.h \ games.h \ basestruct.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\alien.o alien.cpp debug/moc_mainwindow.o: debug/moc_mainwindow.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_mainwindow.o debug\moc_mainwindow.cpp debug/moc_udpsender.o: debug/moc_udpsender.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_udpsender.o debug\moc_udpsender.cpp debug/qrc_images.o: debug/qrc_images.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\qrc_images.o debug\qrc_images.cpp ####### Install install: FORCE uninstall: FORCE FORCE: