####### This section was automatically generated from
#######    /home/hanord/qt/examples/Makefile for building on
#######     on Tue Apr  1 20:32:47 MET DST 1997

INCDIR = $(QTDIR)/include
CFLAGS =  -O2 -fno-strength-reduce -Wall -W
LIBCFLAGS = -fPIC
YACCCFLAGS = -Wno-unused -Wno-parentheses
LFLAGS = -L$(QTDIR)/lib -lqt
CC = gcc
MOC = moc
SHELL =	/bin/sh

####### 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
