summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-04 17:45:11 +0000
committertron <tron@openttd.org>2005-02-04 17:45:11 +0000
commit8eda8113d946b199e366d26b59ee592475f3f0f2 (patch)
treee6817e8afd88ba6549ec3df37b4de393ac269e06 /Makefile
parent04921a9015c03bc91ca3645ba0d943a756ea2884 (diff)
downloadopenttd-8eda8113d946b199e366d26b59ee592475f3f0f2.tar.xz
(svn r1792) Revert r1761 and set fallback values via ?= for CC and CXX as there seem to be platforms (MorphOS) out there which don't provide some proper defaults.
Use gcc and g++ as defaults, because cc and c++ aren't available either. *sigh*
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0279a044d..3fe5f5e82 100644
--- a/Makefile
+++ b/Makefile
@@ -216,6 +216,8 @@ endif
#
# Compiler configuration
#
+CC ?= gcc
+CXX ?= g++
# Executable file extension
ifdef WIN32