Merge pull request #379 from svendahlstrand/target-spaces

Make sure TARGET is set correctly when CURDIR contains spaces.
This commit is contained in:
Simon John 2015-09-07 11:18:43 +01:00
commit 8f85c543d8
2 changed files with 4 additions and 1 deletions

View file

@ -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
########################################################################

View file

@ -17,6 +17,7 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it
- Tweak: Added some more Continuous Integration tests (https://github.com/sej7278)
- Tweak: Updated Fedora instructions (https://github.com/sej7278)
- Fix: Preserve original extension for object files, support asm sources in core, fixes pulseInASM (Issue #255, #364) (https://github.com/sej7278)
- Fix: Make sure TARGET is set correctly when CURDIR contains spaces.
### 1.5 (2015-04-07)
- New: Add support for new 1.5.x library layout (Issue #275) (https://github.com/lukasz-e)