############################################################################# # Makefile for building targets in sub directories. # Generated by tmake; # Project: rootmake # Template: subdirs ############################################################################# MAKEFILE= Makefile TMAKE = tmake SUBDIRS = ta_common \ ta_func \ ta_abstract \ ta_libc \ gen_code \ ta_regtest all: $(SUBDIRS) $(SUBDIRS): FORCE cd $@; $(MAKE) tmake: ../csp/cygwin/g++/Makefile ../csp/cygwin/g++/Makefile: rootmake.pro tmake rootmake.pro -o ../csp/cygwin/g++/Makefile tmake_all: for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) -f $(MAKEFILE) tmake_all || true; fi; ) ; done #### $text = "\t" . '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: