############################################################################# # Makefile for building targets in sub directories. # Generated by tmake at 22:32, 2002/12/02 # Project: subdirs # Template: subdirs ############################################################################# MAKEFILE= Makefile TMAKE = tmake SUBDIRS = xmms all: $(SUBDIRS) $(SUBDIRS): tmake_all FORCE cd $@; $(MAKE) tmake: Makefile Makefile: subdirs.pro tmake subdirs.pro -o Makefile 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 FORCE: