#############################################################################
# Makefile for building: examples
# Generated by qmake (1.04a) (Qt 3.1.1) on: Sat Feb  8 18:30:20 2003
# Project:  ../../../../extensions/motif/examples/examples.pro
# Template: subdirs
# Command: $(QMAKE) -spec /home/magotou/src/qt-x11-free-3.1.1+cvs.20021220/mkspecs/linux-g++ -o Makefile ../../../../extensions/motif/examples/examples.pro
#############################################################################

MAKEFILE =	Makefile
QMAKE    =	qmake
DEL_FILE =    rm -f
SUBTARGETS =	 \
		sub-customwidget \
		sub-dialog

first: all

all: Makefile $(SUBTARGETS)

customwidget/$(MAKEFILE): 
	cd customwidget && $(QMAKE)  -spec /home/magotou/src/qt-x11-free-3.1.1+cvs.20021220/mkspecs/linux-g++ -o $(MAKEFILE)
sub-customwidget: customwidget/$(MAKEFILE) FORCE
	cd customwidget && $(MAKE) -f $(MAKEFILE)

dialog/$(MAKEFILE): 
	cd dialog && $(QMAKE)  -spec /home/magotou/src/qt-x11-free-3.1.1+cvs.20021220/mkspecs/linux-g++ -o $(MAKEFILE)
sub-dialog: dialog/$(MAKEFILE) FORCE
	cd dialog && $(MAKE) -f $(MAKEFILE)

Makefile: ../../../../extensions/motif/examples/examples.pro ../../../.qmake.cache /home/magotou/src/qt-x11-free-3.1.1+cvs.20021220/mkspecs/linux-g++/qmake.conf 
	$(QMAKE) -spec /home/magotou/src/qt-x11-free-3.1.1+cvs.20021220/mkspecs/linux-g++ -o Makefile ../../../../extensions/motif/examples/examples.pro
qmake: qmake_all
	@$(QMAKE) -spec /home/magotou/src/qt-x11-free-3.1.1+cvs.20021220/mkspecs/linux-g++ -o Makefile ../../../../extensions/motif/examples/examples.pro

all: $(SUBTARGETS)
qmake_all: customwidget/$(MAKEFILE) dialog/$(MAKEFILE)
	 ( [ -d customwidget ] && cd customwidget ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
	 ( [ -d dialog ] && cd dialog ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
clean uninstall install uiclean mocclean lexclean yaccclean: qmake_all FORCE
	 ( [ -d customwidget ] && cd customwidget ; $(MAKE) -f $(MAKEFILE) $@; ) || true
	 ( [ -d dialog ] && cd dialog ; $(MAKE) -f $(MAKEFILE) $@; ) || true
distclean: qmake_all FORCE
	 ( [ -d customwidget ] && cd customwidget ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
	 ( [ -d dialog ] && cd dialog ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true

FORCE:

