diff Makefile @ 783:e64975fc5f98

Fix stateview build and fix Makefile to use /bin/echo since builtin echo does not always support -e
author Michael Pavone <pavone@retrodev.com>
date Tue, 21 Jul 2015 00:52:21 -0700
parents bb60259e8edf
children 792be135d3af bce97fc0bb8a
line wrap: on
line diff
--- a/Makefile	Tue Jul 21 00:41:39 2015 -0700
+++ b/Makefile	Tue Jul 21 00:52:21 2015 -0700
@@ -22,7 +22,7 @@
 LIBS=sdl2 glew gl
 endif #Darwin
 
-HAS_PROC:=$(shell if [ -d /proc ]; then echo -e -DHAS_PROC; fi)
+HAS_PROC:=$(shell if [ -d /proc ]; then /bin/echo -e -DHAS_PROC; fi)
 CFLAGS:=-std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value -Wno-logical-op-parentheses $(HAS_PROC)
 FIXUP:=
 ifdef PORTABLE