Skip to content

Commit 40f17b8

Browse files
committed
Merge pull request #380 from svendahlstrand/target-documentation
Add documentation for the TARGET variable. thanks @svendahlstrand
2 parents 8f85c54 + 81d0669 commit 40f17b8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

arduino-mk-vars.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,26 @@ OBJDIR = /path/to/my/project-directory/bin
378378

379379
----
380380

381+
### TARGET
382+
383+
**Description:**
384+
385+
What name you would like for generated target files.
386+
387+
Defaults to the name of your current working directory, but with underscores (_) instead of spaces.
388+
389+
**Example:**
390+
391+
```Makefile
392+
TARGET = my-project
393+
```
394+
395+
Will generate targets like `my-project.hex` and `my-project.elf`.
396+
397+
**Requirement:** *Optional*
398+
399+
----
400+
381401
### ALTERNATE_CORE
382402

383403
**Description:**

0 commit comments

Comments
 (0)