summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/rules.nested.GNU
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2016-07-07 20:15:29 -0400
committerSteve Huston <shuston@riverace.com>2016-07-14 15:20:24 -0400
commitc752cc58a68f2f91da9550764a55b6dc7f91432c (patch)
tree30df624efa557fa6f56521fde89eda821503a465 /ACE/include/makeinclude/rules.nested.GNU
parent7627b5e0073d58550491af5493237880f514b66a (diff)
downloadATCD-c752cc58a68f2f91da9550764a55b6dc7f91432c.tar.gz
Case 2025, see notesRiverace-case-2025
(cherry picked from commit ce6901f995267e3bc2cf5695c1bca42bd07b44b0)
Diffstat (limited to 'ACE/include/makeinclude/rules.nested.GNU')
-rw-r--r--ACE/include/makeinclude/rules.nested.GNU3
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