#############################################################################
# Makefile for building Main
# Generated by tmake at 03:44, 2001/07/17
#     Project: Physroom
#    Template: app
#############################################################################

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

CC	=	gcc
CXX	=	g++
CFLAGS	=	-pipe -Wall -W -O2 -DNO_DEBUG
CXXFLAGS=	-pipe -Wall -W -O2 -DNO_DEBUG
INCPATH	=	-I$(QTDIR)/include -I/usr/X11R6/include
LINK	=	g++
LFLAGS	=	
LIBS	=	$(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt -lGLU -lGL -lXmu -lXext -lX11 -lm
MOC	=	$(QTDIR)/bin/moc
UIC	=	$(QTDIR)/bin/uic

TAR	=	tar -cf
GZIP	=	gzip -9f

####### Files

HEADERS =	Physroom_Control.h \
		Physroom_Engine.h \
		MovableObject.h \
		StaticObject.h \
		SphereObject.h \
		QuadObject.h \
		Point.h \
		VectorFunctions.h \
		MatrixFunctions.h \
		AddObjDialog.h \
		Physroom_Layout.h \
		LightDialog.h \
		CameraDialog.h \
		DestroyedSphereObject.h \
		Highscore.h
SOURCES =	Main.cpp \
		Physroom_Control.cpp \
		Physroom_Engine.cpp \
		MovableObject.cpp \
		QuadObject.cpp \
		SphereObject.cpp \
		MatrixFunctions.cpp \
		AddObjDialog.cpp \
		Physroom_Layout.cpp \
		LightDialog.cpp \
		CameraDialog.cpp \
		DestroyedSphereObject.cpp \
		Highscore.cpp
OBJECTS =	Main.o \
		Physroom_Control.o \
		Physroom_Engine.o \
		MovableObject.o \
		QuadObject.o \
		SphereObject.o \
		MatrixFunctions.o \
		AddObjDialog.o \
		Physroom_Layout.o \
		LightDialog.o \
		CameraDialog.o \
		DestroyedSphereObject.o \
		Highscore.o
INTERFACES =	
UICDECLS =	
UICIMPLS =	
SRCMOC	=	moc_Physroom_Control.cpp \
		moc_Physroom_Engine.cpp \
		moc_AddObjDialog.cpp \
		moc_LightDialog.cpp \
		moc_CameraDialog.cpp \
		moc_Highscore.cpp
OBJMOC	=	moc_Physroom_Control.o \
		moc_Physroom_Engine.o \
		moc_AddObjDialog.o \
		moc_LightDialog.o \
		moc_CameraDialog.o \
		moc_Highscore.o
DIST	=	
TARGET	=	Main
INTERFACE_DECL_PATH = .

####### Implicit rules

.SUFFIXES: .cpp .cxx .cc .C .c

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

.cxx.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cc.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.C.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

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

####### Build rules


all: $(TARGET)

$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) 
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)

moc: $(SRCMOC)

tmake:
	tmake Physroom.pro

dist:
	$(TAR) Physroom.tar Physroom.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
	$(GZIP) Physroom.tar

clean:
	-rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
	-rm -f *~ core

####### Sub-libraries


###### Combined headers


####### Compile

Main.o: Main.cpp \
		Physroom_Control.h \
		AddObjDialog.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		SphereObject.h \
		MovableObject.h \
		Physroom_Engine.h \
		DestroyedSphereObject.h \
		Physroom_Layout.h \
		CameraDialog.h \
		LightDialog.h \
		Highscore.h

Physroom_Control.o: Physroom_Control.cpp \
		Physroom_Control.h \
		AddObjDialog.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		SphereObject.h \
		MovableObject.h \
		Physroom_Engine.h \
		DestroyedSphereObject.h \
		Physroom_Layout.h \
		CameraDialog.h \
		LightDialog.h \
		Highscore.h

Physroom_Engine.o: Physroom_Engine.cpp \
		Physroom_Engine.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		SphereObject.h \
		MovableObject.h \
		DestroyedSphereObject.h

MovableObject.o: MovableObject.cpp \
		MovableObject.h \
		PhysObject.h \
		Point.h \
		Point.icc

QuadObject.o: QuadObject.cpp \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		SphereObject.h \
		MovableObject.h \
		Physroom_Engine.h \
		DestroyedSphereObject.h

SphereObject.o: SphereObject.cpp \
		SphereObject.h \
		MovableObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		Physroom_Engine.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		DestroyedSphereObject.h

MatrixFunctions.o: MatrixFunctions.cpp \
		MatrixFunctions.h \
		VectorFunctions.h \
		VectorFunctions.icc

AddObjDialog.o: AddObjDialog.cpp \
		AddObjDialog.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		SphereObject.h \
		MovableObject.h \
		Physroom_Engine.h \
		DestroyedSphereObject.h \
		Physroom_Layout.h

Physroom_Layout.o: Physroom_Layout.cpp \
		Physroom_Layout.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		SphereObject.h \
		MovableObject.h \
		Physroom_Engine.h \
		DestroyedSphereObject.h

LightDialog.o: LightDialog.cpp \
		LightDialog.h \
		Physroom_Layout.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		SphereObject.h \
		MovableObject.h \
		Physroom_Engine.h \
		DestroyedSphereObject.h

CameraDialog.o: CameraDialog.cpp \
		CameraDialog.h \
		Physroom_Layout.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		SphereObject.h \
		MovableObject.h \
		Physroom_Engine.h \
		DestroyedSphereObject.h

DestroyedSphereObject.o: DestroyedSphereObject.cpp \
		DestroyedSphereObject.h \
		MovableObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		Physroom_Engine.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		SphereObject.h

Highscore.o: Highscore.cpp \
		Highscore.h

moc_Physroom_Control.o: moc_Physroom_Control.cpp \
		Physroom_Control.h \
		AddObjDialog.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		SphereObject.h \
		MovableObject.h \
		Physroom_Engine.h \
		DestroyedSphereObject.h \
		Physroom_Layout.h \
		CameraDialog.h \
		LightDialog.h \
		Highscore.h

moc_Physroom_Engine.o: moc_Physroom_Engine.cpp \
		Physroom_Engine.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		SphereObject.h \
		MovableObject.h \
		Physroom_Engine.h \
		DestroyedSphereObject.h

moc_AddObjDialog.o: moc_AddObjDialog.cpp \
		AddObjDialog.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		SphereObject.h \
		MovableObject.h \
		Physroom_Engine.h \
		DestroyedSphereObject.h \
		Physroom_Layout.h

moc_LightDialog.o: moc_LightDialog.cpp \
		LightDialog.h \
		Physroom_Layout.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		SphereObject.h \
		MovableObject.h \
		Physroom_Engine.h \
		DestroyedSphereObject.h

moc_CameraDialog.o: moc_CameraDialog.cpp \
		CameraDialog.h \
		Physroom_Layout.h \
		QuadObject.h \
		VectorFunctions.h \
		VectorFunctions.icc \
		MatrixFunctions.h \
		StaticObject.h \
		PhysObject.h \
		Point.h \
		Point.icc \
		SphereObject.h \
		MovableObject.h \
		Physroom_Engine.h \
		DestroyedSphereObject.h

moc_Highscore.o: moc_Highscore.cpp \
		Highscore.h

moc_Physroom_Control.cpp: Physroom_Control.h
	$(MOC) Physroom_Control.h -o moc_Physroom_Control.cpp

moc_Physroom_Engine.cpp: Physroom_Engine.h
	$(MOC) Physroom_Engine.h -o moc_Physroom_Engine.cpp

moc_AddObjDialog.cpp: AddObjDialog.h
	$(MOC) AddObjDialog.h -o moc_AddObjDialog.cpp

moc_LightDialog.cpp: LightDialog.h
	$(MOC) LightDialog.h -o moc_LightDialog.cpp

moc_CameraDialog.cpp: CameraDialog.h
	$(MOC) CameraDialog.h -o moc_CameraDialog.cpp

moc_Highscore.cpp: Highscore.h
	$(MOC) Highscore.h -o moc_Highscore.cpp

