From 81d0669869435251b6029f3b41560197577024df Mon Sep 17 00:00:00 2001 From: Sven Dahlstrand Date: Sun, 6 Sep 2015 14:14:22 +0200 Subject: [PATCH] Add documentation for the TARGET variable. --- arduino-mk-vars.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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:**