diff options
| author | Simon John <git@the-jedi.co.uk> | 2015-09-07 11:19:00 +0100 |
|---|---|---|
| committer | Simon John <git@the-jedi.co.uk> | 2015-09-07 11:19:00 +0100 |
| commit | 40f17b8482856d9fa2edb6cb78e14160c6f55a55 (patch) | |
| tree | 23d39ace824d4d8dd133dc8117c7e29c2ac77212 | |
| parent | 8f85c543d80acaccc4eb26511772447d59ac71a0 (diff) | |
| parent | 81d0669869435251b6029f3b41560197577024df (diff) | |
Merge pull request #380 from svendahlstrand/target-documentation
Add documentation for the TARGET variable.
thanks @svendahlstrand
| -rw-r--r-- | arduino-mk-vars.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arduino-mk-vars.md b/arduino-mk-vars.md index e509bb4..706a72b 100644 --- a/arduino-mk-vars.md +++ b/arduino-mk-vars.md @@ -378,6 +378,26 @@ OBJDIR = /path/to/my/project-directory/bin ---- +### TARGET + +**Description:** + +What name you would like for generated target files. + +Defaults to the name of your current working directory, but with underscores (_) instead of spaces. + +**Example:** + +```Makefile +TARGET = my-project +``` + +Will generate targets like `my-project.hex` and `my-project.elf`. + +**Requirement:** *Optional* + +---- + ### ALTERNATE_CORE **Description:** |
