aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortinyladi <ladislas@weareleka.com>2014-02-27 22:22:59 +0100
committerSudar <sudar@sudarmuthu.com>2014-03-06 22:50:01 +0530
commit5c4328dd29f28ed7fb8c02e12b72bce6c6a6deab (patch)
treef0caf124bdb10b9ac6538a2ea73389bef0a6a731
parent668a4470548514b96311a976d6b3527a5a532f38 (diff)
Add `OBJDIR` reference to `arduino-mk-vars.md`
Signed-off-by: tinyladi <ladislas@weareleka.com>
-rw-r--r--HISTORY.md1
-rw-r--r--arduino-mk-vars.md18
2 files changed, 19 insertions, 0 deletions
diff --git a/HISTORY.md b/HISTORY.md
index b40aa21..d60f544 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -10,6 +10,7 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it
- Fix: Add "gpio" to the list of isp that don't have a port. (Issue #165, #166) (https://github.com/sej7278)
- Fix: Add "-D__PROG_TYPES_COMPAT__" to the avr-g++ compiler flags to match IDE. (https://github.com/sej7278)
- New: Create `Makefile-example-mk`, a *real life* `Makefile` example, to be used as a reference. (https://github.com/tinyladi)
+- Tweak: Add `OBJDIR` to `arduino-mk-vars.md` (https://github.com/tinyladi)
### 1.3.1 (2014-02-04)
- Fix: BUNDLED_AVR_TOOLS_DIR is now set properly when using only arduino-core and not the whole arduino package. (https://github.com/sej7278)
diff --git a/arduino-mk-vars.md b/arduino-mk-vars.md
index 37ebfd3..5c12f88 100644
--- a/arduino-mk-vars.md
+++ b/arduino-mk-vars.md
@@ -129,6 +129,24 @@ Defaults to 'libraries' directory within user's sketchbook.
Optional.
+### OBJDIR
+
+**Description:**
+
+Directory where binaries and compiled files are put.
+
+Defaults to `build-$(BOARD_TAG)` in your `Makefile` directory.
+
+**Example:**
+
+```Makefile
+OBJDIR = /path/to/my/project-directory/bin
+```
+
+**Status:** *Optional*
+
+----
+
### ALTERNATE_CORE
Non-standard core for Arduino-unsupported chips like the ATtiny.