####### This section is automatically generated from
#######    /root/qt/qt1-1.31/debian/tmp/usr/doc/qt-doc/examples/Makefile

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

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

#############################################################################
# Makefile for building qwerty
# Generated by tmake at 12:24, 1997/03/25
#     Project: qwerty.pro
#    Template: /home/hanord/qt/tmake/linux-gcc/example.t
#############################################################################

####### Files

HEADERS =	qwerty.h
SOURCES =	qwerty.cpp \
		main.cpp
OBJECTS =	qwerty.o \
		main.o
SRCMOC	=	moc_qwerty.cpp
OBJMOC	=	moc_qwerty.o
TARGET	=	qwerty

####### Implicit rules

.SUFFIXES: .cpp .c

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

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

####### Build rules

all: $(TARGET) 

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

moc: $(SRCMOC)

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

####### Compile

qwerty.o: qwerty.cpp \
		qwerty.h

main.o: main.cpp \
		qwerty.h

moc_qwerty.o: moc_qwerty.cpp \
		qwerty.h

moc_qwerty.cpp: qwerty.h
	$(MOC) qwerty.h -o moc_qwerty.cpp
