#############################################################################
# Makefile for building: aliendefender
# Generated by qmake (2.01a) (Qt 4.5.2) on: ?? ????. 5 00:15:00 2009
# Project:  aliendefender.pro
# Template: app
# Command: /usr/bin/qmake -Wall -spec ../../share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile aliendefender.pro
#############################################################################

####### Compiler, tools and options

CC            = gcc
CXX           = g++
DEFINES       = -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS        = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS      = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
INCPATH       = -I../../share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/usr/include -I. -I.
LINK          = g++
LFLAGS        = 
LIBS          = $(SUBLIBS)  -L/usr/lib/qt4 -L/usr/X11R6/lib -lQtOpenGL -L/usr/lib/qt4 -L/usr/X11R6/lib -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -lQtGui -pthread -lpng -lfreetype -lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender -lXrandr -lXinerama -lfontconfig -lXext -lX11 -lQtNetwork -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lGLU -lGL -lpthread
AR            = ar cqs
RANLIB        = 
QMAKE         = /usr/bin/qmake
TAR           = tar -cf
COMPRESS      = gzip -9f
COPY          = cp -f
SED           = sed
COPY_FILE     = $(COPY)
COPY_DIR      = $(COPY) -r
INSTALL_FILE  = install -m 644 -p
INSTALL_DIR   = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE      = rm -f
SYMLINK       = ln -sf
DEL_DIR       = rmdir
MOVE          = mv -f
CHK_DIR_EXISTS= test -d
MKDIR         = mkdir -p

####### Output directory

OBJECTS_DIR   = ./

####### Files

SOURCES       = main.cpp \
		mainwindow.cpp \
		adpainter.cpp \
		aliens.cpp \
		udpsender.cpp \
		towers.cpp moc_mainwindow.cpp \
		moc_udpsender.cpp
OBJECTS       = main.o \
		mainwindow.o \
		adpainter.o \
		aliens.o \
		udpsender.o \
		towers.o \
		moc_mainwindow.o \
		moc_udpsender.o
DIST          = ../../share/qt4/mkspecs/common/g++.conf \
		../../share/qt4/mkspecs/common/unix.conf \
		../../share/qt4/mkspecs/common/linux.conf \
		../../share/qt4/mkspecs/qconfig.pri \
		../../share/qt4/mkspecs/features/qt_functions.prf \
		../../share/qt4/mkspecs/features/qt_config.prf \
		../../share/qt4/mkspecs/features/exclusive_builds.prf \
		../../share/qt4/mkspecs/features/default_pre.prf \
		../../share/qt4/mkspecs/features/debug.prf \
		../../share/qt4/mkspecs/features/default_post.prf \
		../../share/qt4/mkspecs/features/warn_on.prf \
		../../share/qt4/mkspecs/features/qt.prf \
		../../share/qt4/mkspecs/features/unix/opengl.prf \
		../../share/qt4/mkspecs/features/unix/thread.prf \
		../../share/qt4/mkspecs/features/moc.prf \
		../../share/qt4/mkspecs/features/resources.prf \
		../../share/qt4/mkspecs/features/uic.prf \
		../../share/qt4/mkspecs/features/yacc.prf \
		../../share/qt4/mkspecs/features/lex.prf \
		../../share/qt4/mkspecs/features/include_source_dir.prf \
		aliendefender.pro
QMAKE_TARGET  = aliendefender
DESTDIR       = 
TARGET        = aliendefender

first: all
####### Implicit rules

.SUFFIXES: .o .c .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:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.c.o:
	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"

####### Build rules

all: Makefile $(TARGET)

$(TARGET): ui_mainwindow.h $(OBJECTS)  
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)

Makefile: aliendefender.pro  ../../share/qt4/mkspecs/linux-g++/qmake.conf ../../share/qt4/mkspecs/common/g++.conf \
		../../share/qt4/mkspecs/common/unix.conf \
		../../share/qt4/mkspecs/common/linux.conf \
		../../share/qt4/mkspecs/qconfig.pri \
		../../share/qt4/mkspecs/features/qt_functions.prf \
		../../share/qt4/mkspecs/features/qt_config.prf \
		../../share/qt4/mkspecs/features/exclusive_builds.prf \
		../../share/qt4/mkspecs/features/default_pre.prf \
		../../share/qt4/mkspecs/features/debug.prf \
		../../share/qt4/mkspecs/features/default_post.prf \
		../../share/qt4/mkspecs/features/warn_on.prf \
		../../share/qt4/mkspecs/features/qt.prf \
		../../share/qt4/mkspecs/features/unix/opengl.prf \
		../../share/qt4/mkspecs/features/unix/thread.prf \
		../../share/qt4/mkspecs/features/moc.prf \
		../../share/qt4/mkspecs/features/resources.prf \
		../../share/qt4/mkspecs/features/uic.prf \
		../../share/qt4/mkspecs/features/yacc.prf \
		../../share/qt4/mkspecs/features/lex.prf \
		../../share/qt4/mkspecs/features/include_source_dir.prf \
		/usr/lib/qt4/libQtOpenGL.prl \
		/usr/lib/qt4/libQtGui.prl \
		/usr/lib/qt4/libQtCore.prl \
		/usr/lib/qt4/libQtNetwork.prl
	$(QMAKE) -Wall -spec ../../share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile aliendefender.pro
../../share/qt4/mkspecs/common/g++.conf:
../../share/qt4/mkspecs/common/unix.conf:
../../share/qt4/mkspecs/common/linux.conf:
../../share/qt4/mkspecs/qconfig.pri:
../../share/qt4/mkspecs/features/qt_functions.prf:
../../share/qt4/mkspecs/features/qt_config.prf:
../../share/qt4/mkspecs/features/exclusive_builds.prf:
../../share/qt4/mkspecs/features/default_pre.prf:
../../share/qt4/mkspecs/features/debug.prf:
../../share/qt4/mkspecs/features/default_post.prf:
../../share/qt4/mkspecs/features/warn_on.prf:
../../share/qt4/mkspecs/features/qt.prf:
../../share/qt4/mkspecs/features/unix/opengl.prf:
../../share/qt4/mkspecs/features/unix/thread.prf:
../../share/qt4/mkspecs/features/moc.prf:
../../share/qt4/mkspecs/features/resources.prf:
../../share/qt4/mkspecs/features/uic.prf:
../../share/qt4/mkspecs/features/yacc.prf:
../../share/qt4/mkspecs/features/lex.prf:
../../share/qt4/mkspecs/features/include_source_dir.prf:
/usr/lib/qt4/libQtOpenGL.prl:
/usr/lib/qt4/libQtGui.prl:
/usr/lib/qt4/libQtCore.prl:
/usr/lib/qt4/libQtNetwork.prl:
qmake:  FORCE
	@$(QMAKE) -Wall -spec ../../share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile aliendefender.pro

dist: 
	@$(CHK_DIR_EXISTS) .tmp/aliendefender1.0.0 || $(MKDIR) .tmp/aliendefender1.0.0 
	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/aliendefender1.0.0/ && $(COPY_FILE) --parents mainwindow.h adpainter.h aliens.h basestruct.h udpsender.h towers.h .tmp/aliendefender1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp adpainter.cpp aliens.cpp udpsender.cpp towers.cpp .tmp/aliendefender1.0.0/ && $(COPY_FILE) --parents mainwindow.ui .tmp/aliendefender1.0.0/ && (cd `dirname .tmp/aliendefender1.0.0` && $(TAR) aliendefender1.0.0.tar aliendefender1.0.0 && $(COMPRESS) aliendefender1.0.0.tar) && $(MOVE) `dirname .tmp/aliendefender1.0.0`/aliendefender1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/aliendefender1.0.0


clean:compiler_clean 
	-$(DEL_FILE) $(OBJECTS)
	-$(DEL_FILE) *~ core *.core


####### Sub-libraries

distclean: clean
	-$(DEL_FILE) $(TARGET) 
	-$(DEL_FILE) Makefile


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: moc_mainwindow.cpp moc_udpsender.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) moc_mainwindow.cpp moc_udpsender.cpp
moc_mainwindow.cpp: adpainter.h \
		basestruct.h \
		aliens.h \
		udpsender.h \
		mainwindow.h
	/usr/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp

moc_udpsender.cpp: udpsender.h
	/usr/bin/moc $(DEFINES) $(INCPATH) udpsender.h -o moc_udpsender.cpp

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: ui_mainwindow.h
compiler_uic_clean:
	-$(DEL_FILE) ui_mainwindow.h
ui_mainwindow.h: mainwindow.ui
	/usr/bin/uic 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_uic_clean 

####### Compile

main.o: main.cpp mainwindow.h \
		adpainter.h \
		basestruct.h \
		aliens.h \
		udpsender.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp

mainwindow.o: mainwindow.cpp mainwindow.h \
		adpainter.h \
		basestruct.h \
		aliens.h \
		udpsender.h \
		ui_mainwindow.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp

adpainter.o: adpainter.cpp adpainter.h \
		basestruct.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o adpainter.o adpainter.cpp

aliens.o: aliens.cpp aliens.h \
		basestruct.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o aliens.o aliens.cpp

udpsender.o: udpsender.cpp udpsender.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o udpsender.o udpsender.cpp

towers.o: towers.cpp towers.h \
		basestruct.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o towers.o towers.cpp

moc_mainwindow.o: moc_mainwindow.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp

moc_udpsender.o: moc_udpsender.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_udpsender.o moc_udpsender.cpp

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:

