#############################################################################
# Makefile for building layouts
# Generated by tmake at 18:02, 1999/02/26
#     Project: layouts
#    Template: app
#############################################################################

####### System-dependendant options

####### BEGIN
build_error:
	@echo "This section should have been replaced by a config file."
####### END

####### Compiler, tools and options

CXX	=	$(SYSCONF_CXX)
CXXFLAGS=	$(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS)
LFLAGS	=	$(SYSCONF_LFLAGS_QT) $(SYSCONF_LFLAGS_X11) $(SYSCONF_LFLAGS)
LIBS	=	$(SYSCONF_LIBS_QT) $(SYSCONF_LIBS_X11) $(SYSCONF_LIBS)
MOC	=	$(SYSCONF_MOC)

####### Target

TARGET	= layouts
DESTDIR = ./
VER_MAJ = 1
VER_MIN = 0

####### Files

HEADERS =	qtgrid.h \
		qthbox.h \
		qtvbox.h \
		qtbuttonrow.h \
		qtlabelled.h
SOURCES =	qtgrid.cpp \
		qthbox.cpp \
		qtvbox.cpp \
		qtbuttonrow.cpp \
		qtlabelled.cpp \
		layouts.cpp
OBJECTS =	qtgrid.o \
		qthbox.o \
		qtvbox.o \
		qtbuttonrow.o \
		qtlabelled.o \
		layouts.o
SRCMOC	=	moc_qtgrid.cpp \
		moc_qthbox.cpp \
		moc_qtvbox.cpp \
		moc_qtbuttonrow.cpp \
		moc_qtlabelled.cpp
OBJMOC	=	moc_qtgrid.o \
		moc_qthbox.o \
		moc_qtvbox.o \
		moc_qtbuttonrow.o \
		moc_qtlabelled.o

####### Implicit rules

.SUFFIXES: .cpp .cxx .cc .C .c

.cpp.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cxx.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cc.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.C.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.c.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

####### Build rules

all: $(DESTDIR)$(TARGET)

$(DESTDIR)$(TARGET): $(OBJECTS) $(OBJMOC) 
	$(SYSCONF_LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)

moc: $(SRCMOC)

tmake:
	tmake layouts.pro

clean:
	-rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC)
	-rm -f *~ core

####### Compile

qtgrid.o: qtgrid.cpp \
		qtgrid.h

qthbox.o: qthbox.cpp \
		qthbox.h

qtvbox.o: qtvbox.cpp \
		qtvbox.h \
		qthbox.h

qtbuttonrow.o: qtbuttonrow.cpp \
		qtbuttonrow.h

qtlabelled.o: qtlabelled.cpp \
		qtlabelled.h

layouts.o: layouts.cpp \
		qtbuttonrow.h \
		qtlabelled.h \
		qtgrid.h \
		qthbox.h \
		qtvbox.h

moc_qtgrid.o: moc_qtgrid.cpp \
		qtgrid.h

moc_qthbox.o: moc_qthbox.cpp \
		qthbox.h

moc_qtvbox.o: moc_qtvbox.cpp \
		qtvbox.h \
		qthbox.h

moc_qtbuttonrow.o: moc_qtbuttonrow.cpp \
		qtbuttonrow.h

moc_qtlabelled.o: moc_qtlabelled.cpp \
		qtlabelled.h

moc_qtgrid.cpp: qtgrid.h
	$(MOC) qtgrid.h -o moc_qtgrid.cpp

moc_qthbox.cpp: qthbox.h
	$(MOC) qthbox.h -o moc_qthbox.cpp

moc_qtvbox.cpp: qtvbox.h
	$(MOC) qtvbox.h -o moc_qtvbox.cpp

moc_qtbuttonrow.cpp: qtbuttonrow.h
	$(MOC) qtbuttonrow.h -o moc_qtbuttonrow.cpp

moc_qtlabelled.cpp: qtlabelled.h
	$(MOC) qtlabelled.h -o moc_qtlabelled.cpp

