From d321f7983e84d45ab86c33989cfc69e1a8d46cd0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Oct 2009 09:41:04 +0200 Subject: Don't run tests from root makefile/nmakefile --- dist/makefile | 2 +- dist/nmakefile | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'dist') diff --git a/dist/makefile b/dist/makefile index 83b9661..f1b7a7e 100644 --- a/dist/makefile +++ b/dist/makefile @@ -1,6 +1,6 @@ dirs := libxsde examples -ifneq ($(filter $(MAKECMDGOALS),gen test clean cleanobj),) +ifneq ($(filter $(MAKECMDGOALS),gen clean cleanobj),) dirs += tests endif diff --git a/dist/nmakefile b/dist/nmakefile index 03dbab7..26d240e 100644 --- a/dist/nmakefile +++ b/dist/nmakefile @@ -4,7 +4,10 @@ all: @for %i in ( $(dirs) ) do \ @cmd /c "cd %i & $(MAKE) /nologo /f nmakefile" -gen test clean cleanobj: - @for %i in ( $(dirs) tests ) do \ +test: + @for %i in ( $(dirs) ) do \ @cmd /c "cd %i & $(MAKE) /nologo /f nmakefile $@" +gen clean cleanobj: + @for %i in ( $(dirs) tests ) do \ +@cmd /c "cd %i & $(MAKE) /nologo /f nmakefile $@" -- cgit v1.1