add ability to build and upload sketches from the bash command line (via beta ino2cpp...
[zumo-cc3200/zumo-cc3200.git] / etc / ino2cpp / templates / Variables.mk.template
1 APPLICATION_PATH = `build.app.root`
2 MAINSKETCH      ?= `build.mainsketch`
3 BOARD           ?= `build.variant`
4 PLATFORM        ?= `target`
5 BUILD_DRVLIB    ?= `build.drvlib`
6 EXTRA_SOURCES    = `build.extra.sources`
7 USER_LIB_PATH    = `sketchbook.path`/libraries
9 CLOSURE ?= $(APPLICATION_PATH)/hardware/common
10 CCROOT  ?= $(APPLICATION_PATH)/hardware/tools/lm4f
12 # if BOARD is not defined, default to some variant (often there is just one)
13 ifeq (,$(BOARD))
14     BOARD = $(firstword $(notdir $(wildcard $(APPLICATION_PATH)/hardware/$(PLATFORM)/variants/*)))
15 endif