From 5c4328dd29f28ed7fb8c02e12b72bce6c6a6deab Mon Sep 17 00:00:00 2001 From: tinyladi Date: Thu, 27 Feb 2014 22:22:59 +0100 Subject: [PATCH] Add `OBJDIR` reference to `arduino-mk-vars.md` Signed-off-by: tinyladi --- HISTORY.md | 1 + arduino-mk-vars.md | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) 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.