#############################################################################
# Makefile for building: run
# Generated by qmake (1.07a) (Qt 3.3.7) on: Wed May  7 00:23:20 2008
# Project:  IK.pro
# Template: app
# Command: $(QMAKE) -o Makefile IK.pro
#############################################################################

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

CC       = gcc
CXX      = g++
LEX      = flex
YACC     = yacc
CFLAGS   = -pipe -Wall -W -g -D_REENTRANT  -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
CXXFLAGS = -pipe -Wall -W -g -D_REENTRANT  -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I/usr/share/qt3/mkspecs/default -I. -I. -I../../../../programmes/ProgrammesTiers/numrecipes_cpp/recipes_cpp/utils -I/usr/include/qt3 -I/usr/X11R6/include -I/usr/X11R6/include
LINK     = g++
LFLAGS   = 
LIBS     = $(SUBLIBS) -L/home/ffaure/Documents/programmes/ProgrammesTiers/numrecipes_cpp/recipes_cpp/utils -L/usr/share/qt3/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lglut -lrecipes -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
AR       = ar cqs
RANLIB   = 
MOC      = /usr/share/qt3/bin/moc
UIC      = /usr/share/qt3/bin/uic
QMAKE    = qmake
TAR      = tar -cf
GZIP     = gzip -9f
COPY     = cp -f
COPY_FILE= $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE= $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
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

HEADERS = Base.h \
		PositionConstraint.h \
		Link.h \
		utils.h
SOURCES = main.cpp \
		Base.cpp \
		PositionConstraint.cpp \
		Link.cpp \
		utils.cpp
OBJECTS = main.o \
		Base.o \
		PositionConstraint.o \
		Link.o \
		utils.o
FORMS = 
UICDECLS = 
UICIMPLS = 
SRCMOC   = 
OBJMOC = 
DIST	   = IK.pro
QMAKE_TARGET = run
DESTDIR  = 
TARGET   = run

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

.SUFFIXES: .c .o .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):  $(UICDECLS) $(OBJECTS) $(OBJMOC)  
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)

mocables: $(SRCMOC)
uicables: $(UICDECLS) $(UICIMPLS)

$(MOC): 
	( cd $(QTDIR)/src/moc && $(MAKE) )

Makefile: IK.pro  /usr/share/qt3/mkspecs/default/qmake.conf /usr/share/qt3/lib/libqt-mt.prl
	$(QMAKE) -o Makefile IK.pro
qmake: 
	@$(QMAKE) -o Makefile IK.pro

dist: 
	@mkdir -p .tmp/run && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/run/ && ( cd `dirname .tmp/run` && $(TAR) run.tar run && $(GZIP) run.tar ) && $(MOVE) `dirname .tmp/run`/run.tar.gz . && $(DEL_FILE) -r .tmp/run

mocclean:

uiclean:

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


####### Sub-libraries

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


FORCE:

####### Compile

main.o: main.cpp utils/traqueboule.h \
		utils/argumentParser.h \
		PositionConstraint.h \
		Link.h \
		utils/tbmatrix.h \
		Base.h \
		utils.h \
		utils/vector.h \
		utils/Quater.h \
		utils/Mat.h \
		utils/Vec.h \
		utils/fixed_array.h \
		utils/static_assert.h \
		utils/rmath.h \
		utils/config.h

Base.o: Base.cpp Base.h \
		utils.h \
		utils/vector.h \
		utils/Quater.h \
		utils/Mat.h \
		utils/Vec.h \
		utils/fixed_array.h \
		utils/static_assert.h \
		utils/rmath.h \
		utils/config.h

PositionConstraint.o: PositionConstraint.cpp PositionConstraint.h \
		Link.h \
		Base.h \
		utils.h \
		utils/vector.h \
		utils/Quater.h \
		utils/Mat.h \
		utils/Vec.h \
		utils/fixed_array.h \
		utils/static_assert.h \
		utils/rmath.h \
		utils/config.h

Link.o: Link.cpp Link.h \
		utils.h \
		utils/vector.h \
		utils/Quater.h \
		utils/Mat.h \
		utils/Vec.h \
		utils/fixed_array.h \
		utils/static_assert.h \
		utils/rmath.h \
		utils/config.h

utils.o: utils.cpp utils.h \
		utils/Quater.inl \
		utils/vector.h \
		utils/Quater.h \
		utils/Mat.h \
		utils/Vec.h \
		utils/fixed_array.h \
		utils/static_assert.h \
		utils/rmath.h \
		utils/config.h

####### Install

install:  

uninstall:  

