#############################################################################
# Makefile for building: FuzzyTruck
# Generated by qmake (2.01a) (Qt 4.7.0) on: Mon Dec 6 08:54:13 2010
# Project:  FuzzyTruck.pro
# Template: app
#############################################################################

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

CC            = gcc
CXX           = g++
DEFINES       = -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS        = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS      = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtTest -I/usr/include/qt4 -Irelease -I.
LINK          = g++
LFLAGS        = -Wl,-O1
LIBS          = $(SUBLIBS)  -L/usr/lib -lQtTest -lQtGui -lQtCore -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
STRIP         = strip
INSTALL_FILE  = install -m 644 -p
INSTALL_DIR   = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE      = rm -f
SYMLINK       = ln -f -s
DEL_DIR       = rmdir
MOVE          = mv -f
CHK_DIR_EXISTS= test -d
MKDIR         = mkdir -p

####### Output directory

OBJECTS_DIR   = release/

####### Files

SOURCES       = QGraphicsSceneWithMouse.cpp \
		controller/RulesButtonMatrix.cpp \
		controller/TruckController.cpp \
		model/TruckDriver.cpp \
		model/FuzzySetsDefs.cpp \
		model/tests/AntecedantsMatrixTests.cpp \
		model/tests/FAMTests.cpp \
		model/tests/TestsRunner.cpp \
		model/tests/FuzzySetTests.cpp \
		main.cpp \
		fuzzytruck.cpp release/moc_QGraphicsSceneWithMouse.cpp \
		release/moc_AntecedantsMatrixTests.cpp \
		release/moc_FAMTests.cpp \
		release/moc_FuzzySetTests.cpp \
		release/moc_fuzzytruck.cpp
OBJECTS       = release/QGraphicsSceneWithMouse.o \
		release/RulesButtonMatrix.o \
		release/TruckController.o \
		release/TruckDriver.o \
		release/FuzzySetsDefs.o \
		release/AntecedantsMatrixTests.o \
		release/FAMTests.o \
		release/TestsRunner.o \
		release/FuzzySetTests.o \
		release/main.o \
		release/fuzzytruck.o \
		release/moc_QGraphicsSceneWithMouse.o \
		release/moc_AntecedantsMatrixTests.o \
		release/moc_FAMTests.o \
		release/moc_FuzzySetTests.o \
		release/moc_fuzzytruck.o
DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
		/usr/share/qt4/mkspecs/common/unix.conf \
		/usr/share/qt4/mkspecs/common/linux.conf \
		/usr/share/qt4/mkspecs/qconfig.pri \
		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
		/usr/share/qt4/mkspecs/features/qt_functions.prf \
		/usr/share/qt4/mkspecs/features/qt_config.prf \
		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
		/usr/share/qt4/mkspecs/features/default_pre.prf \
		/usr/share/qt4/mkspecs/features/release.prf \
		/usr/share/qt4/mkspecs/features/debug_and_release.prf \
		/usr/share/qt4/mkspecs/features/default_post.prf \
		/usr/share/qt4/mkspecs/features/build_pass.prf \
		/usr/share/qt4/mkspecs/features/warn_on.prf \
		/usr/share/qt4/mkspecs/features/qt.prf \
		/usr/share/qt4/mkspecs/features/unix/thread.prf \
		/usr/share/qt4/mkspecs/features/moc.prf \
		/usr/share/qt4/mkspecs/features/resources.prf \
		/usr/share/qt4/mkspecs/features/uic.prf \
		/usr/share/qt4/mkspecs/features/yacc.prf \
		/usr/share/qt4/mkspecs/features/lex.prf \
		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
		FuzzyTruck.pro
QMAKE_TARGET  = FuzzyTruck
DESTDIR       = 
TARGET        = FuzzyTruck

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.Release $(TARGET)

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

qmake:  FORCE
	@$(QMAKE) CONFIG+=debug_and_release -o Makefile.Release FuzzyTruck.pro

dist: 
	@$(CHK_DIR_EXISTS) release/FuzzyTruck1.0.0 || $(MKDIR) release/FuzzyTruck1.0.0 
	$(COPY_FILE) --parents $(SOURCES) $(DIST) release/FuzzyTruck1.0.0/ && $(COPY_FILE) --parents QGraphicsSceneWithMouse.h controller/RulesButtonMatrix.h controller/TruckController.h model/TruckDriverDelegate.h model/TruckDriver.h model/FAM.h model/FAM.h model/Utils.h model/AntecedantsMatrix.h model/FuzzySetsDefs.h model/tests/AntecedantsMatrixTests.h model/tests/FAMTests.h model/tests/TestsEnable.h model/tests/TestsRunner.h model/FuzzySet.h model/tests/FuzzySetTests.h fuzzytruck.h release/FuzzyTruck1.0.0/ && $(COPY_FILE) --parents QGraphicsSceneWithMouse.cpp controller/RulesButtonMatrix.cpp controller/TruckController.cpp model/TruckDriver.cpp model/FuzzySetsDefs.cpp model/tests/AntecedantsMatrixTests.cpp model/tests/FAMTests.cpp model/tests/TestsRunner.cpp model/tests/FuzzySetTests.cpp main.cpp fuzzytruck.cpp release/FuzzyTruck1.0.0/ && $(COPY_FILE) --parents fuzzytruck.ui release/FuzzyTruck1.0.0/ && (cd `dirname release/FuzzyTruck1.0.0` && $(TAR) FuzzyTruck1.0.0.tar FuzzyTruck1.0.0 && $(COMPRESS) FuzzyTruck1.0.0.tar) && $(MOVE) `dirname release/FuzzyTruck1.0.0`/FuzzyTruck1.0.0.tar.gz . && $(DEL_FILE) -r release/FuzzyTruck1.0.0


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


####### Sub-libraries

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


check: first

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: release/moc_QGraphicsSceneWithMouse.cpp release/moc_AntecedantsMatrixTests.cpp release/moc_FAMTests.cpp release/moc_FuzzySetTests.cpp release/moc_fuzzytruck.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) release/moc_QGraphicsSceneWithMouse.cpp release/moc_AntecedantsMatrixTests.cpp release/moc_FAMTests.cpp release/moc_FuzzySetTests.cpp release/moc_fuzzytruck.cpp
release/moc_QGraphicsSceneWithMouse.cpp: QGraphicsSceneWithMouse.h
	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) QGraphicsSceneWithMouse.h -o release/moc_QGraphicsSceneWithMouse.cpp

release/moc_AntecedantsMatrixTests.cpp: model/FuzzySet.h \
		model/AntecedantsMatrix.h \
		model/FAM.h \
		model/Utils.h \
		model/FuzzySetsDefs.h \
		model/tests/AntecedantsMatrixTests.h
	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) model/tests/AntecedantsMatrixTests.h -o release/moc_AntecedantsMatrixTests.cpp

release/moc_FAMTests.cpp: model/tests/FAMTests.h
	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) model/tests/FAMTests.h -o release/moc_FAMTests.cpp

release/moc_FuzzySetTests.cpp: model/tests/FuzzySetTests.h
	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) model/tests/FuzzySetTests.h -o release/moc_FuzzySetTests.cpp

release/moc_fuzzytruck.cpp: ui_fuzzytruck.h \
		controller/RulesButtonMatrix.h \
		model/Utils.h \
		model/FuzzySet.h \
		model/FAM.h \
		model/FuzzySetsDefs.h \
		controller/TruckController.h \
		model/TruckDriver.h \
		model/TruckDriverDelegate.h \
		model/AntecedantsMatrix.h \
		QGraphicsSceneWithMouse.h \
		fuzzytruck.h
	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) fuzzytruck.h -o release/moc_fuzzytruck.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_fuzzytruck.h
compiler_uic_clean:
	-$(DEL_FILE) ui_fuzzytruck.h
ui_fuzzytruck.h: fuzzytruck.ui
	/usr/bin/uic-qt4 fuzzytruck.ui -o ui_fuzzytruck.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

release/QGraphicsSceneWithMouse.o: QGraphicsSceneWithMouse.cpp QGraphicsSceneWithMouse.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/QGraphicsSceneWithMouse.o QGraphicsSceneWithMouse.cpp

release/RulesButtonMatrix.o: controller/RulesButtonMatrix.cpp controller/RulesButtonMatrix.h \
		model/Utils.h \
		model/FuzzySet.h \
		model/FAM.h \
		model/FuzzySetsDefs.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/RulesButtonMatrix.o controller/RulesButtonMatrix.cpp

release/TruckController.o: controller/TruckController.cpp controller/TruckController.h \
		model/TruckDriver.h \
		model/TruckDriverDelegate.h \
		model/Utils.h \
		model/AntecedantsMatrix.h \
		model/FuzzySet.h \
		model/FAM.h \
		model/FuzzySetsDefs.h \
		controller/RulesButtonMatrix.h \
		fuzzytruck.h \
		ui_fuzzytruck.h \
		QGraphicsSceneWithMouse.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/TruckController.o controller/TruckController.cpp

release/TruckDriver.o: model/TruckDriver.cpp model/TruckDriver.h \
		model/TruckDriverDelegate.h \
		model/Utils.h \
		model/AntecedantsMatrix.h \
		model/FuzzySet.h \
		model/FAM.h \
		model/FuzzySetsDefs.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/TruckDriver.o model/TruckDriver.cpp

release/FuzzySetsDefs.o: model/FuzzySetsDefs.cpp model/FuzzySetsDefs.h \
		model/FuzzySet.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/FuzzySetsDefs.o model/FuzzySetsDefs.cpp

release/AntecedantsMatrixTests.o: model/tests/AntecedantsMatrixTests.cpp model/tests/AntecedantsMatrixTests.h \
		model/FuzzySet.h \
		model/AntecedantsMatrix.h \
		model/FAM.h \
		model/Utils.h \
		model/FuzzySetsDefs.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/AntecedantsMatrixTests.o model/tests/AntecedantsMatrixTests.cpp

release/FAMTests.o: model/tests/FAMTests.cpp model/tests/FAMTests.h \
		model/FAM.h \
		model/Utils.h \
		model/FuzzySet.h \
		model/FuzzySetsDefs.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/FAMTests.o model/tests/FAMTests.cpp

release/TestsRunner.o: model/tests/TestsRunner.cpp model/tests/TestsRunner.h \
		model/tests/FuzzySetTests.h \
		model/tests/AntecedantsMatrixTests.h \
		model/FuzzySet.h \
		model/AntecedantsMatrix.h \
		model/FAM.h \
		model/Utils.h \
		model/FuzzySetsDefs.h \
		model/tests/FAMTests.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/TestsRunner.o model/tests/TestsRunner.cpp

release/FuzzySetTests.o: model/tests/FuzzySetTests.cpp model/tests/FuzzySetTests.h \
		model/FuzzySet.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/FuzzySetTests.o model/tests/FuzzySetTests.cpp

release/main.o: main.cpp controller/TruckController.h \
		model/TruckDriver.h \
		model/TruckDriverDelegate.h \
		model/Utils.h \
		model/AntecedantsMatrix.h \
		model/FuzzySet.h \
		model/FAM.h \
		model/FuzzySetsDefs.h \
		fuzzytruck.h \
		ui_fuzzytruck.h \
		controller/RulesButtonMatrix.h \
		QGraphicsSceneWithMouse.h \
		model/tests/TestsEnable.h \
		model/tests/TestsRunner.h \
		model/tests/FuzzySetTests.h \
		model/tests/AntecedantsMatrixTests.h \
		model/tests/FAMTests.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/main.o main.cpp

release/fuzzytruck.o: fuzzytruck.cpp fuzzytruck.h \
		ui_fuzzytruck.h \
		controller/RulesButtonMatrix.h \
		model/Utils.h \
		model/FuzzySet.h \
		model/FAM.h \
		model/FuzzySetsDefs.h \
		controller/TruckController.h \
		model/TruckDriver.h \
		model/TruckDriverDelegate.h \
		model/AntecedantsMatrix.h \
		QGraphicsSceneWithMouse.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/fuzzytruck.o fuzzytruck.cpp

release/moc_QGraphicsSceneWithMouse.o: release/moc_QGraphicsSceneWithMouse.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_QGraphicsSceneWithMouse.o release/moc_QGraphicsSceneWithMouse.cpp

release/moc_AntecedantsMatrixTests.o: release/moc_AntecedantsMatrixTests.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_AntecedantsMatrixTests.o release/moc_AntecedantsMatrixTests.cpp

release/moc_FAMTests.o: release/moc_FAMTests.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_FAMTests.o release/moc_FAMTests.cpp

release/moc_FuzzySetTests.o: release/moc_FuzzySetTests.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_FuzzySetTests.o release/moc_FuzzySetTests.cpp

release/moc_fuzzytruck.o: release/moc_fuzzytruck.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/moc_fuzzytruck.o release/moc_fuzzytruck.cpp

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:

