diff options
author | Gustav Larsson <gustav.m.larsson@gmail.com> | 2015-02-24 23:22:15 -0600 |
---|---|---|
committer | Gustav Larsson <gustav.m.larsson@gmail.com> | 2015-02-24 23:22:15 -0600 |
commit | d2beb8ab20b55aebd25a2fb1f3eed3cf2923efaa (patch) | |
tree | 8b2b392009d5fac4f19caab573c593997fc3abb4 /Makefile | |
parent | 4a3887ab1791f7a0ea6d17cafb861f53398a42d5 (diff) | |
download | caffeonacl-d2beb8ab20b55aebd25a2fb1f3eed3cf2923efaa.tar.gz caffeonacl-d2beb8ab20b55aebd25a2fb1f3eed3cf2923efaa.tar.bz2 caffeonacl-d2beb8ab20b55aebd25a2fb1f3eed3cf2923efaa.zip |
Replaced illegal tab in Makefile with spaces.
Commands, such as $(error ...), are not allowed to be indented with tabs
outside of targets, throwing an error instead of outputting the actual
error. The solution is to use innocuous spaces instead. Ideally, spaces
should be used everywhere outside targets, but since make does not mind
it if variable assignments are tab-indented outside targets, a complete
overhaul is not necessary. However, if more errors are added, it might
make more sense to be consistent.
Also, make will already add a period so I removed it.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -261,7 +261,8 @@ ifneq (,$(findstring clang++,$(CXX))) else ifneq (,$(findstring g++,$(CXX))) STATIC_LINK_COMMAND := -Wl,--whole-archive $(STATIC_NAME) -Wl,--no-whole-archive else - $(error Cannot static link with the $(CXX) compiler.) + # The following line must not be indented with a tab, since we are not inside a target + $(error Cannot static link with the $(CXX) compiler) endif # Debugging |