#############################################################################
# Makefile for building: sql
# Generated by qmake (1.03a) on: Fri Feb  7 18:42:39 2003
# Project:  sql.pro
# Template: subdirs
# Command: $(QMAKE) sql.pro
#############################################################################

MAKEFILE =	Makefile
QMAKE    =	qmake
SUBDIRS  =	overview \
		sqltable
DEL_FILE =    rm -f
SUBTARGETS =	 \
		sub-overview \
		sub-sqltable

first: all

all: Makefile $(SUBTARGETS)

overview/$(MAKEFILE): 
	cd overview && $(QMAKE) -o $(MAKEFILE)
sub-overview: overview/$(MAKEFILE) FORCE
	cd overview && $(MAKE) -f $(MAKEFILE)

sqltable/$(MAKEFILE): 
	cd sqltable && $(QMAKE) -o $(MAKEFILE)
sub-sqltable: sqltable/$(MAKEFILE) FORCE
	cd sqltable && $(MAKE) -f $(MAKEFILE)

sub-sqltable: sub-overview

Makefile: sql.pro $(QTDIR)/.qmake.cache $(QTDIR)/mkspecs/linux-g++/qmake.conf 
	$(QMAKE) sql.pro
qmake: qmake_all
	@$(QMAKE) sql.pro

qmake_all: overview/$(MAKEFILE) sqltable/$(MAKEFILE)
	for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; grep "^qmake_all:" $(MAKEFILE) 2>/dev/null >/dev/null && $(MAKE) -f $(MAKEFILE) qmake_all || true; fi; ) ; done

clean: qmake_all FORCE
	for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) -f $(MAKEFILE) clean; fi; ) ; done
uninstall install uiclean mocclean: qmake_all FORCE
	for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) -f $(MAKEFILE) $@; fi; ) ; done
distclean: qmake_all FORCE
	for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) -f $(MAKEFILE) $@ ; $(DEL_FILE) $(MAKEFILE) ; fi; ) ; done

FORCE:

