Commit 3340da4d authored by rjw's avatar rjw

Added rules for .mm


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5ff4b00b
......@@ -26,14 +26,20 @@ $(filter %.cpp,$(CXXYACCOBJECTS)): %.cpp: %.y
$(filter %.o,$(COBJECTS)): %.o: %.c
$(CC) $(CFLAGS) -I$(TOPSRCDIR) -c $< -o $@
$(filter %.o,$(COBJECTS)): %.o: %.mm
$(CC) $(CFLAGS) -I$(TOPSRCDIR) -c $< -o $@
$(filter %.o,$(CXXOBJECTS)): %.o: %.cpp
$(CXX) $(CXXFLAGS) -I$(TOPSRCDIR) -c $< -o $@
.SUFFIXES: .cpp .h .c
.SUFFIXES: .cpp .h .c .mm
.cpp.o:
$(CXX) $(CXXFLAGS) -I$(TOPSRCDIR) -c $< -o $@
.mm.o:
$(CC) $(CMMFLAGS) -I$(TOPSRCDIR) -c $< -o $@
#----------------------------------------------------------------------
# Standard subdir targets
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment