From 7ba7dbca47e20159d046fab847ebb0ef6673b24a Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 12 Jul 2010 05:23:19 +0000 Subject: Add the beginning of the .ONESHELL special feature. Original patch by David Boyce. Modified by Paul Smith. --- read.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'read.c') diff --git a/read.c b/read.c index 1e8d2f3..f4484c4 100644 --- a/read.c +++ b/read.c @@ -1964,6 +1964,10 @@ record_files (struct nameseq *filenames, const char *pattern, } else if (streq (name, ".SECONDEXPANSION")) second_expansion = 1; +#if !defined(WINDOWS32) && !defined (__MSDOS__) && !defined (__EMX__) + else if (streq (name, ".ONESHELL")) + one_shell = 1; +#endif /* If this is a static pattern rule: `targets: target%pattern: prereq%pattern; recipe', -- cgit v1.2.3