diff options
| author | Simon John <git@the-jedi.co.uk> | 2015-09-07 11:18:43 +0100 |
|---|---|---|
| committer | Simon John <git@the-jedi.co.uk> | 2015-09-07 11:18:43 +0100 |
| commit | 8f85c543d80acaccc4eb26511772447d59ac71a0 (patch) | |
| tree | 2d2d021b1392c1055361b16efa2f10851e6d2e09 /Arduino.mk | |
| parent | 69f3db0bff9c0a32043d95982aedf4b11655be90 (diff) | |
| parent | 8e787ca161df3c631a165d0ba48ac02efb07fcae (diff) | |
Merge pull request #379 from svendahlstrand/target-spaces
Make sure TARGET is set correctly when CURDIR contains spaces.
Diffstat (limited to 'Arduino.mk')
| -rw-r--r-- | Arduino.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -266,7 +266,9 @@ endif # Default TARGET to pwd (ex Daniele Vergini) ifndef TARGET - TARGET = $(notdir $(CURDIR)) + space := + space += + TARGET = $(notdir $(subst $(space),_,$(CURDIR))) endif ######################################################################## |
