#############################################################################
# Makefile for building targets in sub directories.
# Generated by tmake at 12:46, 2004/10/13
#     Project: libParser.pro
#    Template: subdirs
#############################################################################

MAKEFILE =	Makefile
TMAKE    =	tmake
REMOVE   =	rm -f

SUBDIRS  =	src

all: $(SUBDIRS)

$(SUBDIRS): FORCE
	cd $@; $(MAKE)

tmake_all:
	for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; pro=`basename $$i`.pro ; $(TMAKE) $$pro -o $(MAKEFILE); grep "TEMPLATE.*subdirs" $$pro 2>/dev/null >/dev/null && $(MAKE) -f $(MAKEFILE) tmake_all || true; fi; ) ; done

clean release debug:
	for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) $@; fi; ) ; done

dist:
	for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) $@; fi; ) ; done
	$(REMOVE) Makefile  *.kdevprj *.kdevses

FORCE:
