diff options
Diffstat (limited to 'Common.mk')
| -rw-r--r-- | Common.mk | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,4 @@ +COMMON_INCLUDED = TRUE # Useful functions # Returns the first argument (typically a directory), if the file or directory # named by concatenating the first and optionally second argument @@ -26,8 +27,11 @@ show_config_variable = $(call show_config_info,$(1) = $($(1)) $(3),$(2)) # Just a nice simple visual separator show_separator = $(call arduino_output,-------------------------) +# Master Arduino Makefile include (after user Makefile) +ardmk_include = $(shell basename $(word 2,$(MAKEFILE_LIST))) + $(call show_separator) -$(call arduino_output,Arduino.mk Configuration:) +$(call arduino_output,$(call ardmk_include) Configuration:) ######################################################################## # |
