#############################################################################
# Makefile for building: elasticnodes
# Generated by qmake (2.01a) (Qt 4.4.0) on: Di Jul 1 19:56:41 2008
# Project:  elasticnodes.pro
# Template: app
# Command: /usr/bin/qmake -unix -o Makefile elasticnodes.pro
#############################################################################

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

CC            = gcc
CXX           = g++
DEFINES       = -DQT_NO_DEBUG -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/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -I.
LINK          = g++
LFLAGS        = 
LIBS          = $(SUBLIBS)  -L/usr/lib -lQtGui -L/usr/lib -L/usr/X11R6/lib -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -lrt -ldl -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       = edge.cpp \
		main.cpp \
		node.cpp \
		graphwidget.cpp moc_graphwidget.cpp
OBJECTS       = edge.o \
		main.o \
		node.o \
		graphwidget.o \
		moc_graphwidget.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/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/default_post.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 \
		elasticnodes.pro
QMAKE_TARGET  = elasticnodes
DESTDIR       = 
TARGET        = elasticnodes

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):  $(OBJECTS)  
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)

Makefile: elasticnodes.pro  /usr/share/qt4/mkspecs/default/qmake.conf /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/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/default_post.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/lib/libQtGui.prl \
		/usr/lib/libQtCore.prl
	$(QMAKE) -unix -o Makefile elasticnodes.pro
/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/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/default_post.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/lib/libQtGui.prl:
/usr/lib/libQtCore.prl:
qmake:  FORCE
	@$(QMAKE) -unix -o Makefile elasticnodes.pro

dist: 
	@$(CHK_DIR_EXISTS) .tmp/elasticnodes1.0.0 || $(MKDIR) .tmp/elasticnodes1.0.0 
	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/elasticnodes1.0.0/ && $(COPY_FILE) --parents edge.h node.h graphwidget.h .tmp/elasticnodes1.0.0/ && $(COPY_FILE) --parents edge.cpp main.cpp node.cpp graphwidget.cpp .tmp/elasticnodes1.0.0/ && (cd `dirname .tmp/elasticnodes1.0.0` && $(TAR) elasticnodes1.0.0.tar elasticnodes1.0.0 && $(COMPRESS) elasticnodes1.0.0.tar) && $(MOVE) `dirname .tmp/elasticnodes1.0.0`/elasticnodes1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/elasticnodes1.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_graphwidget.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) moc_graphwidget.cpp
moc_graphwidget.cpp: graphwidget.h
	/usr/bin/moc $(DEFINES) $(INCPATH) graphwidget.h -o moc_graphwidget.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:
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: compiler_moc_header_clean 

####### Compile

edge.o: edge.cpp edge.h \
		node.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o edge.o edge.cpp

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

node.o: node.cpp edge.h \
		node.h \
		graphwidget.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o node.o node.cpp

graphwidget.o: graphwidget.cpp graphwidget.h \
		edge.h \
		node.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o graphwidget.o graphwidget.cpp

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

####### Install

install_target: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/ 
	-$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/$(QMAKE_TARGET)"
	-strip "$(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/$(QMAKE_TARGET)"

uninstall_target:  FORCE
	-$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/$(QMAKE_TARGET)"
	-$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/ 


install_sources: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/ 
	-$(INSTALL_FILE) /home/Xerces/elasticnodes/edge.cpp $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/
	-$(INSTALL_FILE) /home/Xerces/elasticnodes/main.cpp $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/
	-$(INSTALL_FILE) /home/Xerces/elasticnodes/node.cpp $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/
	-$(INSTALL_FILE) /home/Xerces/elasticnodes/graphwidget.cpp $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/
	-$(INSTALL_FILE) /home/Xerces/elasticnodes/edge.h $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/
	-$(INSTALL_FILE) /home/Xerces/elasticnodes/node.h $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/
	-$(INSTALL_FILE) /home/Xerces/elasticnodes/graphwidget.h $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/
	-$(INSTALL_FILE) /home/Xerces/elasticnodes/elasticnodes.pro $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/


uninstall_sources:  FORCE
	-$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/edge.cpp 
	 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/main.cpp 
	 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/node.cpp 
	 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/graphwidget.cpp 
	 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/edge.h 
	 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/node.h 
	 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/graphwidget.h 
	 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/elasticnodes.pro
	-$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/qt4/examples/graphicsview/elasticnodes/ 


install:  install_target install_sources  FORCE

uninstall: uninstall_target uninstall_sources   FORCE

FORCE:

