summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 706195ca..e8eec16b 100644
--- a/Makefile
+++ b/Makefile
@@ -853,12 +853,13 @@ BASE_CFLAGS += -DMINSDL_MAJOR=$(MINSDL_MAJOR) \
-DMINSDL_PATCH=$(MINSDL_PATCH)
libversioncheck:
- @echo "#include \"SDL_version.h\"\n" \
+ @/bin/echo -e "#include \"SDL_version.h\"\n" \
"#if SDL_VERSION_ATLEAST(" \
"$(MINSDL_MAJOR),$(MINSDL_MINOR),$(MINSDL_PATCH)" \
")\nMINSDL_PASSED\n#endif" | \
$(CC) $(BASE_CFLAGS) -E - | grep -q MINSDL_PASSED || \
- ( echo "SDL version $(MINSDL_MAJOR).$(MINSDL_MINOR).$(MINSDL_PATCH)" \
+ ( /bin/echo "SDL version" \
+ "$(MINSDL_MAJOR).$(MINSDL_MINOR).$(MINSDL_PATCH)" \
"or greater required" && exit 1 )
@@ -1398,5 +1399,5 @@ ifneq ($(strip $(D_FILES)),)
endif
.PHONY: all clean clean2 clean-debug clean-release \
- debug default dist distclean makedirs release \
+ debug default dist distclean libversioncheck makedirs release \
targets tools toolsclean