diff options
author | D G Turner | 2013-11-07 12:58:33 +0100 |
---|---|---|
committer | D G Turner | 2013-11-24 00:45:38 +0000 |
commit | aa947c9474ad83aa9315bc585d1f0b79060fee61 (patch) | |
tree | 933775377eea4243d9cd8d0fc7c4a2a7098cb840 /Makefile | |
parent | c63b2b2b2c33aa0a1e883cf5c722d647f2cf0c6f (diff) | |
download | scummvm-rg350-aa947c9474ad83aa9315bc585d1f0b79060fee61.tar.gz scummvm-rg350-aa947c9474ad83aa9315bc585d1f0b79060fee61.tar.bz2 scummvm-rg350-aa947c9474ad83aa9315bc585d1f0b79060fee61.zip |
BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -82,7 +82,8 @@ EXECUTABLE := $(EXEPRE)scummvm$(EXEEXT) include $(srcdir)/Makefile.common # check if configure has been run or has been changed since last run -config.h config.mk: $(srcdir)/configure $(srcdir)/engines/configure.engines +ENGINE_SUBDIRS_CONFIGURE := $(wildcard $(srcdir)/engines/*/configure.engine) +config.h config.mk: $(srcdir)/configure $(ENGINE_SUBDIRS_CONFIGURE) ifeq "$(findstring config.mk,$(MAKEFILE_LIST))" "config.mk" @echo "Running $(srcdir)/configure with the last specified parameters" @sleep 2 |