#############################################################################
# Makefile for building: editor
# Generated by qmake (1.07a) (Qt 3.3.4) on: Mon Dec 19 17:27:50 2005
# Project:  editor.pro
# Template: app
# Command: $(QMAKE) -o Makefile editor.pro
#############################################################################

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

CC       = gcc
CXX      = g++
LEX      = flex
YACC     = yacc
CFLAGS   = -pipe -Wall -W -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
CXXFLAGS = -pipe -Wall -W -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I/usr/lib/qt-3.3/mkspecs/default -I. -I. -I$(QTDIR)/include
LINK     = g++
LFLAGS   = 
LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lGLU -lGL -lnetpbm -lSDL -lSDL_image -lglut -lqt-mt -lXext -lX11 -lm
AR       = ar cqs
RANLIB   = 
MOC      = $(QTDIR)/bin/moc
UIC      = $(QTDIR)/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 = ac3d.h \
		acObject.h \
		common.h \
		corres.h \
		glCamera.h \
		glConfigCam.h \
		glCorres.h \
		glLight.h \
		glObject.h \
		GLTexture.h \
		glWidget.h \
		ldi.h \
		lightconfig.h \
		mainWindow.h \
		Md2.h \
		Model_3DS.h \
		quaternion.h \
		renderConfig.h \
		tileRender.h \
		timeLine.h
SOURCES = ac3d.cpp \
		acObject.cpp \
		corres.cpp \
		glCamera.cpp \
		glConfigCam.cpp \
		glCorres.cpp \
		glLight.cpp \
		glObject.cpp \
		GLTexture.cpp \
		glWidget.cpp \
		lightconfig.cpp \
		main.cpp \
		mainWindow.cpp \
		Md2.cpp \
		Model_3DS.cpp \
		quaternion.cpp \
		render.cpp \
		renderConfig.cpp \
		texture.cpp \
		tileRender.cpp \
		timeLine.cpp
OBJECTS = ac3d.o \
		acObject.o \
		corres.o \
		glCamera.o \
		glConfigCam.o \
		glCorres.o \
		glLight.o \
		glObject.o \
		GLTexture.o \
		glWidget.o \
		lightconfig.o \
		main.o \
		mainWindow.o \
		Md2.o \
		Model_3DS.o \
		quaternion.o \
		render.o \
		renderConfig.o \
		texture.o \
		tileRender.o \
		timeLine.o
FORMS = 
UICDECLS = 
UICIMPLS = 
SRCMOC   = moc_corres.cpp \
		moc_glConfigCam.cpp \
		moc_glCorres.cpp \
		moc_glWidget.cpp \
		moc_lightconfig.cpp \
		moc_mainWindow.cpp \
		moc_renderConfig.cpp \
		moc_tileRender.cpp \
		moc_timeLine.cpp
OBJMOC = moc_corres.o \
		moc_glConfigCam.o \
		moc_glCorres.o \
		moc_glWidget.o \
		moc_lightconfig.o \
		moc_mainWindow.o \
		moc_renderConfig.o \
		moc_tileRender.o \
		moc_timeLine.o
DIST	   = editor.pro
QMAKE_TARGET = editor
DESTDIR  = 
TARGET   = editor

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: editor.pro  /usr/lib/qt-3.3/mkspecs/default/qmake.conf /usr/lib/qt-3.3/lib/libqt-mt.prl
	$(QMAKE) -o Makefile editor.pro
qmake: 
	@$(QMAKE) -o Makefile editor.pro

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

mocclean:
	-$(DEL_FILE) $(OBJMOC)
	-$(DEL_FILE) $(SRCMOC)

uiclean:

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


####### Sub-libraries

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


FORCE:

####### Compile

ac3d.o: ac3d.cpp ac3d.h \
		common.h

acObject.o: acObject.cpp acObject.h \
		glObject.h \
		ac3d.h \
		quaternion.h \
		common.h

corres.o: corres.cpp corres.h \
		timeLine.h \
		glCorres.h \
		glObject.h \
		acObject.h \
		glCamera.h \
		glWidget.h \
		quaternion.h \
		ac3d.h \
		common.h

glCamera.o: glCamera.cpp glCamera.h \
		glObject.h \
		quaternion.h

glConfigCam.o: glConfigCam.cpp glConfigCam.h \
		glCamera.h \
		glObject.h \
		acObject.h \
		glWidget.h \
		quaternion.h \
		ac3d.h \
		common.h

glCorres.o: glCorres.cpp glCorres.h \
		timeLine.h \
		glLight.h \
		glObject.h \
		acObject.h \
		glCamera.h \
		glWidget.h \
		quaternion.h \
		ac3d.h \
		common.h

glLight.o: glLight.cpp glLight.h \
		glObject.h \
		quaternion.h

glObject.o: glObject.cpp glObject.h \
		quaternion.h

GLTexture.o: GLTexture.cpp GLTexture.h \
		Md2.h \
		glObject.h \
		common.h \
		quaternion.h

glWidget.o: glWidget.cpp glWidget.h \
		acObject.h \
		glObject.h \
		timeLine.h \
		lightconfig.h \
		glCamera.h \
		quaternion.h \
		ac3d.h \
		common.h \
		glLight.h

lightconfig.o: lightconfig.cpp lightconfig.h \
		glLight.h \
		glObject.h \
		quaternion.h

main.o: main.cpp glWidget.h \
		mainWindow.h \
		glObject.h \
		acObject.h \
		glCamera.h \
		quaternion.h \
		ac3d.h \
		common.h \
		glConfigCam.h \
		renderConfig.h \
		timeLine.h \
		lightconfig.h \
		corres.h \
		tileRender.h \
		ldi.h \
		glLight.h \
		glCorres.h

mainWindow.o: mainWindow.cpp mainWindow.h \
		acObject.h \
		ac3d.h \
		Model_3DS.h \
		glCamera.h \
		Md2.h \
		glCorres.h \
		glWidget.h \
		glConfigCam.h \
		renderConfig.h \
		timeLine.h \
		lightconfig.h \
		corres.h \
		glObject.h \
		quaternion.h \
		common.h \
		tileRender.h \
		ldi.h \
		glLight.h \
		GLTexture.h

Md2.o: Md2.cpp Md2.h \
		glObject.h \
		common.h \
		quaternion.h

Model_3DS.o: Model_3DS.cpp Model_3DS.h \
		GLTexture.h \
		glObject.h \
		common.h \
		quaternion.h

quaternion.o: quaternion.cpp quaternion.h

render.o: render.cpp ac3d.h \
		common.h

renderConfig.o: renderConfig.cpp renderConfig.h \
		glWidget.h \
		tileRender.h \
		glObject.h \
		acObject.h \
		glCamera.h \
		ldi.h \
		quaternion.h \
		ac3d.h \
		common.h

texture.o: texture.cpp ac3d.h \
		common.h

tileRender.o: tileRender.cpp tileRender.h \
		timeLine.h \
		glLight.h \
		ldi.h \
		glObject.h \
		acObject.h \
		glCamera.h \
		glWidget.h \
		quaternion.h \
		ac3d.h \
		common.h

timeLine.o: timeLine.cpp timeLine.h \
		glObject.h \
		quaternion.h

moc_corres.o: moc_corres.cpp  corres.h glCorres.h \
		glObject.h \
		acObject.h \
		glCamera.h \
		glWidget.h \
		quaternion.h \
		ac3d.h \
		common.h

moc_glConfigCam.o: moc_glConfigCam.cpp  glConfigCam.h glObject.h \
		acObject.h \
		glWidget.h \
		glCamera.h \
		quaternion.h \
		ac3d.h \
		common.h

moc_glCorres.o: moc_glCorres.cpp  glCorres.h glObject.h \
		acObject.h \
		glCamera.h \
		glWidget.h \
		quaternion.h \
		ac3d.h \
		common.h

moc_glWidget.o: moc_glWidget.cpp  glWidget.h glObject.h \
		acObject.h \
		glCamera.h \
		quaternion.h \
		ac3d.h \
		common.h

moc_lightconfig.o: moc_lightconfig.cpp  lightconfig.h glLight.h \
		glObject.h \
		quaternion.h

moc_mainWindow.o: moc_mainWindow.cpp  mainWindow.h glWidget.h \
		glConfigCam.h \
		renderConfig.h \
		timeLine.h \
		lightconfig.h \
		corres.h \
		glObject.h \
		acObject.h \
		glCamera.h \
		quaternion.h \
		ac3d.h \
		common.h \
		tileRender.h \
		ldi.h \
		glLight.h \
		glCorres.h

moc_renderConfig.o: moc_renderConfig.cpp  renderConfig.h tileRender.h \
		glObject.h \
		acObject.h \
		glCamera.h \
		glWidget.h \
		ldi.h \
		quaternion.h \
		ac3d.h \
		common.h

moc_tileRender.o: moc_tileRender.cpp  tileRender.h glObject.h \
		acObject.h \
		glCamera.h \
		glWidget.h \
		ldi.h \
		quaternion.h \
		ac3d.h \
		common.h

moc_timeLine.o: moc_timeLine.cpp  timeLine.h glObject.h \
		quaternion.h

moc_corres.cpp: $(MOC) corres.h
	$(MOC) corres.h -o moc_corres.cpp

moc_glConfigCam.cpp: $(MOC) glConfigCam.h
	$(MOC) glConfigCam.h -o moc_glConfigCam.cpp

moc_glCorres.cpp: $(MOC) glCorres.h
	$(MOC) glCorres.h -o moc_glCorres.cpp

moc_glWidget.cpp: $(MOC) glWidget.h
	$(MOC) glWidget.h -o moc_glWidget.cpp

moc_lightconfig.cpp: $(MOC) lightconfig.h
	$(MOC) lightconfig.h -o moc_lightconfig.cpp

moc_mainWindow.cpp: $(MOC) mainWindow.h
	$(MOC) mainWindow.h -o moc_mainWindow.cpp

moc_renderConfig.cpp: $(MOC) renderConfig.h
	$(MOC) renderConfig.h -o moc_renderConfig.cpp

moc_tileRender.cpp: $(MOC) tileRender.h
	$(MOC) tileRender.h -o moc_tileRender.cpp

moc_timeLine.cpp: $(MOC) timeLine.h
	$(MOC) timeLine.h -o moc_timeLine.cpp

####### Install

install:  

uninstall:  

