aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndre Heider2009-09-11 18:13:27 +0000
committerAndre Heider2009-09-11 18:13:27 +0000
commit9f7c0a24e230ef8d41b4d4c3bd3f83fb1a02a780 (patch)
tree8350d4808679eca6e67e094db884c198a077835a /Makefile
parent68ae279affea27085633b0a2c678627d70434bbe (diff)
downloadscummvm-rg350-9f7c0a24e230ef8d41b4d4c3bd3f83fb1a02a780.tar.gz
scummvm-rg350-9f7c0a24e230ef8d41b4d4c3bd3f83fb1a02a780.tar.bz2
scummvm-rg350-9f7c0a24e230ef8d41b4d4c3bd3f83fb1a02a780.zip
Added support for WINDRESFLAGS, required for e.g. multilib enabled MinGW toolchains
svn-id: r44035
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b9a37accbe..2ed634bdc5 100644
--- a/Makefile
+++ b/Makefile
@@ -68,8 +68,10 @@ config.h config.mk: $(srcdir)/configure
ifeq "$(findstring config.mk,$(MAKEFILE_LIST))" "config.mk"
@echo "Running $(srcdir)/configure with the last specified parameters"
@sleep 2
- LDFLAGS="$(SAVED_LDFLAGS)" CXX="$(SAVED_CXX)" CXXFLAGS="$(SAVED_CXXFLAGS)" CPPFLAGS="$(SAVED_CPPFLAGS)" ASFLAGS="$(SAVED_ASFLAGS)" \
- $(srcdir)/configure $(SAVED_CONFIGFLAGS)
+ LDFLAGS="$(SAVED_LDFLAGS)" CXX="$(SAVED_CXX)" \
+ CXXFLAGS="$(SAVED_CXXFLAGS)" CPPFLAGS="$(SAVED_CPPFLAGS)" \
+ ASFLAGS="$(SAVED_ASFLAGS)" WINDRESFLAGS="$(SAVED_WINDRESFLAGS)" \
+ $(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)
endif