diff options
| author | Sudar <sudar@sudarmuthu.com> | 2013-09-18 16:44:24 +0530 |
|---|---|---|
| committer | Sudar <sudar@sudarmuthu.com> | 2013-09-18 16:44:24 +0530 |
| commit | 66eec82a3af8ee5aa16e28230346e4a1f166da2b (patch) | |
| tree | a6642fb87ca178da4ebd28596d5e0d8feb96320c /arduino-mk | |
| parent | 50e407f8a7c64c3e082e2378829432d15408f6bc (diff) | |
Make all executables overridable
This is helpful for #119 which will add support for colorgcc
Diffstat (limited to 'arduino-mk')
| -rw-r--r-- | arduino-mk/Arduino.mk | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index ed95207..f6c1ecf 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -714,19 +714,19 @@ TARGETS = $(OBJDIR)/$(TARGET).* CORE_LIB = $(OBJDIR)/libcore.a # Names of executables -CC = $(AVR_TOOLS_PATH)/$(CC_NAME) -CXX = $(AVR_TOOLS_PATH)/$(CXX_NAME) -AS = $(AVR_TOOLS_PATH)/$(AS_NAME) -OBJCOPY = $(AVR_TOOLS_PATH)/$(OBJCOPY_NAME) -OBJDUMP = $(AVR_TOOLS_PATH)/$(OBJDUMP_NAME) -AR = $(AVR_TOOLS_PATH)/$(AR_NAME) -SIZE = $(AVR_TOOLS_PATH)/$(SIZE_NAME) -NM = $(AVR_TOOLS_PATH)/$(NM_NAME) -REMOVE = rm -rf -MV = mv -f -CAT = cat -ECHO = echo -MKDIR = mkdir -p +CC ?= $(AVR_TOOLS_PATH)/$(CC_NAME) +CXX ?= $(AVR_TOOLS_PATH)/$(CXX_NAME) +AS ?= $(AVR_TOOLS_PATH)/$(AS_NAME) +OBJCOPY ?= $(AVR_TOOLS_PATH)/$(OBJCOPY_NAME) +OBJDUMP ?= $(AVR_TOOLS_PATH)/$(OBJDUMP_NAME) +AR ?= $(AVR_TOOLS_PATH)/$(AR_NAME) +SIZE ?= $(AVR_TOOLS_PATH)/$(SIZE_NAME) +NM ?= $(AVR_TOOLS_PATH)/$(NM_NAME) +REMOVE ?= rm -rf +MV ?= mv -f +CAT ?= cat +ECHO ?= echo +MKDIR ?= mkdir -p # General arguments USER_LIBS = $(wildcard $(patsubst %,$(USER_LIB_PATH)/%,$(ARDUINO_LIBS))) |
