aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorD G Turner2013-11-07 12:58:34 +0100
committerD G Turner2013-11-24 00:48:01 +0000
commitd77cf95a185a6c8f201f417d08f246727784f728 (patch)
tree7c4ca616132b6d3dc5ca86a9d889f020d444b0c0 /engines/scumm
parentaa947c9474ad83aa9315bc585d1f0b79060fee61 (diff)
downloadscummvm-rg350-d77cf95a185a6c8f201f417d08f246727784f728.tar.gz
scummvm-rg350-d77cf95a185a6c8f201f417d08f246727784f728.tar.bz2
scummvm-rg350-d77cf95a185a6c8f201f417d08f246727784f728.zip
BUILD: Split engines.mk down to a single file per engine.
This is the second part of allowing engines to be added dynamically. Each folder in engines/ which must contain a file named "engine.mk" containing the make definitions for that engine.
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/engine.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/scumm/engine.mk b/engines/scumm/engine.mk
new file mode 100644
index 0000000000..640dfb51b4
--- /dev/null
+++ b/engines/scumm/engine.mk
@@ -0,0 +1,12 @@
+ifdef ENABLE_SCUMM
+DEFINES += -DENABLE_SCUMM=$(ENABLE_SCUMM)
+MODULES += engines/scumm
+
+ifdef ENABLE_SCUMM_7_8
+DEFINES += -DENABLE_SCUMM_7_8
+endif
+
+ifdef ENABLE_HE
+DEFINES += -DENABLE_HE
+endif
+endif