diff options
-rw-r--r-- | Makefile | 25 |
1 files changed, 17 insertions, 8 deletions
@@ -105,15 +105,24 @@ endif # updates makefile.config if it's outdated ifneq ($(MAKEFILE_VERSION),$(CONFIG_VERSION)) -UPDATECONFIG:=upgradeconf -CONFIG_INCLUDED:= -else -# this should define SDL-CONFIG for manual configuration -ifeq ($(shell uname),FreeBSD) -SDL-CONFIG:=sdl11-config + ifndef MANUAL_CONFIG # manual config should not check this + 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 -SDL-CONFIG:=sdl-config -endif + # this should define SDL-CONFIG for manual configuration + ifeq ($(shell uname),FreeBSD) + SDL-CONFIG:=sdl11-config + else + SDL-CONFIG:=sdl-config + endif endif ifndef CONFIG_INCLUDED |