aboutsummaryrefslogtreecommitdiff
path: root/arduino-mk-vars.md
diff options
context:
space:
mode:
authorSven Dahlstrand <sven@dahlstrand.net>2015-09-06 14:14:22 +0200
committerSven Dahlstrand <sven@dahlstrand.net>2015-09-07 11:23:18 +0200
commit81d0669869435251b6029f3b41560197577024df (patch)
tree72d9220bfcce79755b29a13416f7ed940c0706b1 /arduino-mk-vars.md
parent69f3db0bff9c0a32043d95982aedf4b11655be90 (diff)
Add documentation for the TARGET variable.
Diffstat (limited to 'arduino-mk-vars.md')
-rw-r--r--arduino-mk-vars.md20
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:**