| Line 26... |
Line 26... |
| 26 |
# Use the environment varibales
|
26 |
# Use the environment varibales
|
| 27 |
# PROGRAMFILES - Windows Program Files (Magic happens in 64bit windows)
|
27 |
# PROGRAMFILES - Windows Program Files (Magic happens in 64bit windows)
|
| 28 |
# CORTEXM3_IAR - Root of the AVR workbench
|
28 |
# CORTEXM3_IAR - Root of the AVR workbench
|
| 29 |
#
|
29 |
#
|
| 30 |
PROGRAMFILES ?= C:/Program Files
|
30 |
PROGRAMFILES ?= C:/Program Files
|
| 31 |
GBE_CORTEXM3_IAR ?= $(PROGRAMFILES)/IAR Systems/Embedded Workbench 7.3
|
31 |
GBE_CORTEXM3_IAR ?= $(PROGRAMFILES)/IAR Systems/Embedded Workbench 7.4
|
| 32 |
export GBE_CORTEXM3_IAR
|
32 |
export GBE_CORTEXM3_IAR
|
| 33 |
|
33 |
|
| 34 |
cortexm3:
|
34 |
cortexm3:
|
| 35 |
$(AA_PRE)if [ -z "$$GBE_CORTEXM3_IAR" ]; then echo GBE_CORTEXM3_IAR env var not set; exit 2; fi; \
|
35 |
$(AA_PRE)if [ -z "$$GBE_CORTEXM3_IAR" ]; then echo GBE_CORTEXM3_IAR env var not set; exit 2; fi; \
|
| 36 |
if [ ! -d "$$GBE_CORTEXM3_IAR" ]; then echo "ERROR: GBE_CORTEXM3_IAR directory not found ($$GBE_CORTEXM3_IAR). Compiler not available"; exit 2; fi; \
|
36 |
if [ ! -d "$$GBE_CORTEXM3_IAR" ]; then echo "ERROR: GBE_CORTEXM3_IAR directory not found ($$GBE_CORTEXM3_IAR). Compiler not available"; exit 2; fi; \
|