summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-20 08:50:43 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-20 08:54:53 (GMT)
commit4a34df5d9861041aa7c984b55d2df13d7cb0e7d1 (patch)
tree14b32e7df2b81272c861aab272c56d38465d3d91 /Makefile
parentaa0ac51645e60c13ade46abed036207d0969c294 (diff)
downloadswift-contrib-4a34df5d9861041aa7c984b55d2df13d7cb0e7d1.zip
swift-contrib-4a34df5d9861041aa7c984b55d2df13d7cb0e7d1.tar.bz2
Use Objective-C++ in main.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 85127f3..fe9602a 100644
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,7 @@ endif
$(QUIET_CXX)$(CXX) -c $< -o $@ $(CPPFLAGS) $(CXXFLAGS)
%.o: %.mm
- $(QUIET_CC)$(CC) -c $< -o $@ $(CPPFLAGS) $(CXXFLAGS)
+ $(QUIET_CXX)$(CXX) -x objective-c++ -c $< -o $@ $(CPPFLAGS) $(CXXFLAGS)
%.o: %.m
$(QUIET_CC)$(CC) -c $< -o $@ $(CPPFLAGS) $(CFLAGS)