diff options
author | truelight <truelight@openttd.org> | 2006-03-14 19:10:33 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-03-14 19:10:33 +0000 |
commit | cc2993992f09d8b07ab6ab74f29075675c3a72eb (patch) | |
tree | 0032683ff04cce8e5106f8b9e7afae7baa6324b2 | |
parent | 42d1731cc1a795f7067c1fd92e337a41480d5589 (diff) | |
download | openttd-cc2993992f09d8b07ab6ab74f29075675c3a72eb.tar.xz |
(svn r3864) -Fix: small problems with make-system, making room for a wrapper-configure
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | makefiledir/Makefile.libdetection | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -974,7 +974,7 @@ depend: @true # The include handles this automagically # Introduce the dependencies -ifeq ($(findstring $(MAKECMDGOALS), clean info depend mrproper),) +ifeq ($(findstring $(MAKECMDGOALS), clean info depend mrproper upgradeconf $(MAKE_CONFIG)),) -include $(DEPS) endif diff --git a/makefiledir/Makefile.libdetection b/makefiledir/Makefile.libdetection index 93ae9172f..213c62b76 100644 --- a/makefiledir/Makefile.libdetection +++ b/makefiledir/Makefile.libdetection @@ -6,6 +6,8 @@ endif ifeq ($(shell expr $(CONFIG_VERSION) \< 9), 1) +ifndef BYPASS_OS_DETECT + # Automatically recognize if building on Win32 ifdef WINDIR ifndef UNIX @@ -56,6 +58,9 @@ SUNOS:=1 UNIX:=1 endif +# END BYPASS_OS_DETECT +endif + # FreeBSD uses sdl11 instead of sdl ifdef FREEBSD SDL-CONFIG:=sdl11-config |