mirror of https://github.com/OpenTTD/OpenTTD
(svn r190) Makefile: fixed bug, that prevented compilation with MANUAL_CONFIG enabled
parent
216abe4e93
commit
cbdd088649
25
Makefile
25
Makefile
|
@ -105,15 +105,24 @@ endif
|
||||||
|
|
||||||
# updates makefile.config if it's outdated
|
# updates makefile.config if it's outdated
|
||||||
ifneq ($(MAKEFILE_VERSION),$(CONFIG_VERSION))
|
ifneq ($(MAKEFILE_VERSION),$(CONFIG_VERSION))
|
||||||
UPDATECONFIG:=upgradeconf
|
ifndef MANUAL_CONFIG # manual config should not check this
|
||||||
CONFIG_INCLUDED:=
|
UPDATECONFIG:=upgradeconf
|
||||||
|
CONFIG_INCLUDED:=
|
||||||
|
else
|
||||||
|
# this should define SDL-CONFIG for manual configuration
|
||||||
|
ifeq ($(shell uname),FreeBSD)
|
||||||
|
SDL-CONFIG:=sdl11-config
|
||||||
|
else
|
||||||
|
SDL-CONFIG:=sdl-config
|
||||||
|
endif
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
# this should define SDL-CONFIG for manual configuration
|
# this should define SDL-CONFIG for manual configuration
|
||||||
ifeq ($(shell uname),FreeBSD)
|
ifeq ($(shell uname),FreeBSD)
|
||||||
SDL-CONFIG:=sdl11-config
|
SDL-CONFIG:=sdl11-config
|
||||||
else
|
else
|
||||||
SDL-CONFIG:=sdl-config
|
SDL-CONFIG:=sdl-config
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef CONFIG_INCLUDED
|
ifndef CONFIG_INCLUDED
|
||||||
|
|
Loading…
Reference in New Issue