summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-12-10 00:20:26 +0000
committerDarkvater <Darkvater@openttd.org>2006-12-10 00:20:26 +0000
commit6c3590338c60a2c4e613a722b49d245c82319df4 (patch)
treeaaa2dfc73ef6e44ff99d063798b851c407836952 /Makefile
parent533034780b33af04a631518a077b228ff21c70a9 (diff)
downloadopenttd-6c3590338c60a2c4e613a722b49d245c82319df4.tar.xz
(svn r7461) -Fix: [FS#262] Add support for building with GCC on OS/2 (psmedley)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f80d708ff..d5ffa3341 100644
--- a/Makefile
+++ b/Makefile
@@ -254,9 +254,13 @@ endif
# Executable file extension
ifdef WIN32
-EXE=.exe
+ EXE=.exe
else
-EXE=
+ ifdef OS2
+ EXE=.exe
+ else
+ EXE=
+ endif
endif
# Set output executable names