####### This section is automatically generated from
#######    /home/datomis/heiko/DEBIAN/Public/qt1/qt1-1.33/debian/qt-doc/usr/doc/qt-doc/Makefile

INCDIR	=	/usr/X11R6/include/qt
CFLAGS	=	-Wall -O2 -I/usr/X11R6/include
LFLAGS	=	-L/usr/X11R6/lib -lqt -LX11
CC	=	g++
MOC	=	/usr/bin/moc

####### End of automatically generated section
#
# $Source: /local/lib/cvs/qt/extensions/opengl/examples/gear/Makefile,v $
#

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

# Include path and libraries for Mesa.
# For SGI OpenGL: replace MesaGL with GL and MesaGLU with GLU.
GL_INC	=	-I/usr/i486-linuxlibc1/include -I/usr/X11R6/include
GL_LIBS =	-L/usr/i486-linuxlibc1/lib -L/usr/X11R6/lib -lMesaGL -lMesaGLU -lXmu -lXext -lm

INCOPT	=	-I$(INCDIR) $(GL_INC)
LIBS	=	$(LFLAGS) -lqgl $(GL_LIBS)

####### Files

HEADERS =	
SOURCES =	gear.cpp
OBJECTS =	gear.o
SRCMOC	=	
OBJMOC	=	
TARGET	=	gear

####### Implicit rules

.SUFFIXES: .cpp .C

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

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

####### Build rules

all: $(TARGET) 

$(TARGET): $(OBJECTS) $(OBJMOC)
	$(CC) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)

moc: $(SRCMOC)

clean:
	-rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(TARGET)

####### Compile

gear.o: gear.cpp
