diff options
Diffstat (limited to 'ACE/include/makeinclude/rules.nested.GNU')
-rw-r--r-- | ACE/include/makeinclude/rules.nested.GNU | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ACE/include/makeinclude/rules.nested.GNU b/ACE/include/makeinclude/rules.nested.GNU index 16073934ac8..42ec2e4e443 100644 --- a/ACE/include/makeinclude/rules.nested.GNU +++ b/ACE/include/makeinclude/rules.nested.GNU @@ -10,7 +10,8 @@ # variable must be set to its actual name before including this # file to allow the recursive MAKE to work properly. -MAKEFILE ?= GNUmakefile +TOP_MAKEFILE := $(word 1,$(MAKEFILE_LIST)) +MAKEFILE ?= $(TOP_MAKEFILE) SUBDIR_MAKEFILE ?= $(MAKEFILE) # Make sure that we build directories with DIRS= in sequence instead of in |