Makefile
branchENGINE-261
changeset 2082 253f13cdf056
parent 1993 efaeadf3e6f0
child 2084 c0f658b0289f
     1.1 --- a/Makefile	Wed Sep 20 17:53:25 2017 +0200
     1.2 +++ b/Makefile	Wed Sep 20 18:20:45 2017 +0200
     1.3 @@ -11,7 +11,7 @@
     1.4  export YML_PATH=$(YML2_PATH)
     1.5  
     1.6  .PHONY: all
     1.7 -all: _platform_override_info
     1.8 +all: _override_info
     1.9  	$(MAKE) -C asn.1 generate
    1.10  	$(MAKE) -C asn.1
    1.11  	$(MAKE) -C sync
    1.12 @@ -52,12 +52,12 @@
    1.13  db:
    1.14  	$(MAKE) -C db db
    1.15  
    1.16 -.PHONY: _platform_override
    1.17 -ifdef PLATFORM_OVERRIDE
    1.18 -_platform_override_info:
    1.19 -	@echo "================================================"
    1.20 -	@echo "PLATFORM_OVERRIDE is set to '$(PLATFORM_OVERRIDE)'."
    1.21 -	@echo "================================================"
    1.22 +.PHONY: _override_info
    1.23 +ifneq ($(wildcard local.conf),)
    1.24 +_override_info:
    1.25 +	@echo "=============================="
    1.26 +	@echo "`local.conf` found, and in use"
    1.27 +	@echo "=============================="
    1.28  else
    1.29 -_platform_override_info:
    1.30 +_override_info:
    1.31  endif