From 2ee111e98aa99c6283444f48e08fdd1ff46c4694 Mon Sep 17 00:00:00 2001 From: syntheticpp Date: Sun, 25 Sep 2005 00:06:40 +0000 Subject: [PATCH] upate to general makefiles git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@263 7ec92016-0320-0410-acc4-a06ded1c099a --- test/Makefile | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/test/Makefile b/test/Makefile index daeb94b..1444fba 100755 --- a/test/Makefile +++ b/test/Makefile @@ -1,18 +1,30 @@ -MAKEFILE = Makefile.mingw +MAKEFILE = Makefile -SUBTARGETS = \ +SUBTARGETS = \ + sub-Factory \ sub-flex_string \ + sub-RegressionTest \ sub-SafeFormat \ - sub-SmallObj + sub-SmallObj all: $(SUBTARGETS) +sub-Factory: FORCE + cd Factory && \ + $(MAKE) -f $(MAKEFILE) + @cd .. + sub-flex_string: FORCE cd flex_string && \ $(MAKE) -f $(MAKEFILE) @cd .. +sub-RegressionTest: FORCE + cd RegressionTest && \ + $(MAKE) -f $(MAKEFILE) + @cd .. + sub-SafeFormat: FORCE cd SafeFormat && \ $(MAKE) -f $(MAKEFILE) @@ -23,17 +35,21 @@ sub-SmallObj: FORCE $(MAKE) -f $(MAKEFILE) @cd .. - - clean: + cd Factory && \ + $(MAKE) -f $(MAKEFILE) clean + @cd .. cd flex_string && \ - $(MAKE) -f $(MAKEFILE) clean + $(MAKE) -f $(MAKEFILE) clean + @cd .. + cd RegressionTest && \ + $(MAKE) -f $(MAKEFILE) clean @cd .. cd SafeFormat && \ - $(MAKE) -f $(MAKEFILE) clean + $(MAKE) -f $(MAKEFILE) clean @cd .. cd SmallObj && \ - $(MAKE) -f $(MAKEFILE) clean + $(MAKE) -f $(MAKEFILE) clean @cd ..