####### This section was automatically generated from
#######    /var/tmp/Heiko/qt1/qt1-1.33/debian/qt-doc/usr/doc/qt-doc/Makefile for building on
#######     on Wed Apr 29 11:48:02 CEST 1998

INCDIR = /usr/lib/qt1/include
CFLAGS = 
LIBCFLAGS = 
YACCCFLAGS = 
LFLAGS = -L/usr/lib/qt1/lib -lqt  -L/usr/X11R6/lib -lX11
CC = g++
MOC = /usr/lib/qt1/bin/moc
SHELL =	/bin/sh

####### 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/X11R6/include
GL_LIBS =	-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
