summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-05-16 16:19:32 +0000
committerDarkvater <darkvater@openttd.org>2005-05-16 16:19:32 +0000
commit7daaf1f100319be93b534a926bb83efbe6733014 (patch)
treecd512d1e77be75c8bca61a3bb1f91db36815a124 /Makefile
parenteffbba74f549ecb8699bf073b3b096a03751fe04 (diff)
downloadopenttd-7daaf1f100319be93b534a926bb83efbe6733014.tar.xz
(svn r2334) - Fix (regression): moved togglefullscreen into the video-driver, now windows works, dedicated works and sdl works. Also reverted the change to the makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6200c2b6c..214fdee53 100644
--- a/Makefile
+++ b/Makefile
@@ -687,10 +687,13 @@ C_SOURCES += water_cmd.c
C_SOURCES += waypoint.c
C_SOURCES += widget.c
C_SOURCES += window.c
-C_SOURCES += sdl.c
CXX_SOURCES =
+ifdef WITH_SDL
+C_SOURCES += sdl.c
+endif
+
ifdef WIN32
C_SOURCES += win32.c w32dm.c
else