####### This section was automatically generated from
#######    /home/hanord/qt/examples/Makefile for building on
#######     on Tue Apr  1 20:32:48 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/xform/Makefile,v $
#

#######	Files

SOURCES	=	xform.cpp
OBJECTS	=	xform.o
SRCMETA	=	xform.moc
TARGET	=	xform

#######	Implicit rules

.SUFFIXES: .cpp

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

#######	Build rules

all: $(TARGET)

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

depend:
	@makedepend -I$(INCDIR) $(SOURCES) 2> /dev/null

showfiles:
	@echo $(SOURCES) Makefile

clean:
	-rm -f *.o *.bak *BAK *~ *% #*
	-rm -f $(SRCMETA) $(TARGET)

#######	Meta objects

xform.moc: xform.cpp
	$(MOC) xform.cpp -o xform.moc


# DO NOT DELETE THIS LINE -- make depend depends on it.
