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
commit14363bfb511ac9d81beaa31783ea54c8c8c6e8c4 (patch)
treeaaa2dfc73ef6e44ff99d063798b851c407836952 /Makefile
parent74106ce6e90c2871ac78f21390ce01da6ec4f209 (diff)
downloadopenttd-14363bfb511ac9d81beaa31783ea54c8c8c6e8c4.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