summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-20 13:48:04 +0000
committertruelight <truelight@openttd.org>2006-08-20 13:48:04 +0000
commitc42942e515bb6677e87d8979949e98bc9c900483 (patch)
tree921925981de00629f1e983eaa3e59cb4b02c85f8 /Makefile
parentfb76d2530a804a3bf6339ef1e6827796d149d069 (diff)
downloadopenttd-c42942e515bb6677e87d8979949e98bc9c900483.tar.xz
(svn r5978) -Add: allow a switch in Makefile.config to disable threads in OpenTTD (no matter what system you are on). Only useful for testing.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cd155a6f1..379f92ab2 100644
--- a/Makefile
+++ b/Makefile
@@ -511,6 +511,10 @@ ifdef DISABLE_ASSERTS
CFLAGS += -DNDEBUG
endif
+ifdef NO_THREADS
+CFLAGS += -DNO_THREADS
+endif
+
# automatically disables asserts for release
ifdef RELEASE
ifndef ENABLE_ASSERTS