####### 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/pref/Makefile,v $
#

####### Files

SOURCES	=	pref.cpp	main.cpp
OBJECTS	=	pref.o		main.o
SRCMETA	=	mpref.cpp
OBJMETA =	mpref.o
TARGET	=	pref

####### Implicit rules

.SUFFIXES: .cpp

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

####### Build rules

all: $(TARGET)

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

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

showfiles:
	@echo $(SOURCES) Makefile

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

####### Explicit dependencies

mpref.cpp: pref.h
	$(MOC) pref.h -o mpref.cpp


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