summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-05-27 20:22:20 +0000
committertruelight <truelight@openttd.org>2006-05-27 20:22:20 +0000
commitd446915a45f29676c92e525a2be36ab48e76a71a (patch)
tree951912e011bc22386856797c6a6a25d4f3a0c05e /Makefile
parentff791261de20d26ef3c5df1e5079bb63abb07d81 (diff)
downloadopenttd-d446915a45f29676c92e525a2be36ab48e76a71a.tar.xz
(svn r4993) -Fix: if 1 file is C++, link the whole project with g++
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3f2c7d28d..9ed376689 100644
--- a/Makefile
+++ b/Makefile
@@ -857,7 +857,7 @@ ifndef MACOSX_BUILD
# OSX links in os/macosx/Makefile to handle universal binaries better
$(TTD): $(OBJS) $(MAKE_CONFIG)
@echo '===> Linking $@'
- $(Q)$(CC) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS) $(LIBS) -o $@
+ $(Q)$(CXX) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS) $(LIBS) -o $@
endif
$(STRGEN): strgen/strgen.c endian_host.h