1.1 --- a/makefiles/Makefile Wed Oct 02 13:26:56 2013 -0700 1.2 +++ b/makefiles/Makefile Thu Oct 10 14:58:13 2013 +0200 1.3 @@ -24,19 +24,19 @@ 1.4 # 1.5 1.6 # Locate this Makefile 1.7 -ifeq ($(filter /%,$(lastword $(MAKEFILE_LIST))),) 1.8 - makefile_path:=$(CURDIR)/$(lastword $(MAKEFILE_LIST)) 1.9 +ifeq ($(filter /%, $(lastword $(MAKEFILE_LIST))), ) 1.10 + makefile_path := $(CURDIR)/$(lastword $(MAKEFILE_LIST)) 1.11 else 1.12 - makefile_path:=$(lastword $(MAKEFILE_LIST)) 1.13 + makefile_path := $(lastword $(MAKEFILE_LIST)) 1.14 endif 1.15 -repo_dir:=$(patsubst %/makefiles/Makefile,%,$(makefile_path)) 1.16 +repo_dir := $(patsubst %/makefiles/Makefile, %, $(makefile_path)) 1.17 1.18 # What is the name of this subsystem (langtools, corba, etc)? 1.19 -subsystem_name:=$(notdir $(repo_dir)) 1.20 +subsystem_name := $(notdir $(repo_dir)) 1.21 1.22 # Try to locate top-level makefile 1.23 -top_level_makefile:=$(repo_dir)/../common/makefiles/Makefile 1.24 -ifneq ($(wildcard $(top_level_makefile)),) 1.25 +top_level_makefile := $(repo_dir)/../common/makefiles/Makefile 1.26 +ifneq ($(wildcard $(top_level_makefile)), ) 1.27 $(info Will run $(subsystem_name) target on top-level Makefile) 1.28 $(info WARNING: This is a non-recommended way of building!) 1.29 $(info ===================================================)