aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Schickel2015-01-25 18:41:57 +0100
committerJohannes Schickel2015-01-25 19:26:16 +0100
commitdefe71792dfc0ab4bcb14a64a9fc8eab9a638e69 (patch)
treedd77da4c0875a39b63842bb3bcaf3909ef36c775 /Makefile
parentd97889cea719dd5a5d129ceed7ecc809cd290f51 (diff)
downloadscummvm-rg350-defe71792dfc0ab4bcb14a64a9fc8eab9a638e69.tar.gz
scummvm-rg350-defe71792dfc0ab4bcb14a64a9fc8eab9a638e69.tar.bz2
scummvm-rg350-defe71792dfc0ab4bcb14a64a9fc8eab9a638e69.zip
CONFIGURE: Allow to overwrite sdl-config to use with SDL_CONFIG.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 93a84a5c7b..36b4592b20 100644
--- a/Makefile
+++ b/Makefile
@@ -91,6 +91,7 @@ ifeq "$(findstring config.mk,$(MAKEFILE_LIST))" "config.mk"
LDFLAGS="$(SAVED_LDFLAGS)" CXX="$(SAVED_CXX)" \
CXXFLAGS="$(SAVED_CXXFLAGS)" CPPFLAGS="$(SAVED_CPPFLAGS)" \
ASFLAGS="$(SAVED_ASFLAGS)" WINDRESFLAGS="$(SAVED_WINDRESFLAGS)" \
+ SDL_CONFIG="$(SAVED_SDL_CONFIG)" \
$(srcdir)/configure $(SAVED_CONFIGFLAGS)
else
$(error You need to run $(srcdir)/configure before you can run make. Check $(srcdir)/configure --help for a list of parameters)