Append .mm to .SUFFIXES list

Add .mm.o rule (exact copy of .cxx.o)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2003-03-21 03:27:39 +00:00
parent 00524cfd67
commit 39989a8093

View File

@@ -18,7 +18,7 @@ include ./src/make.env
# implicit rules (%.o: %.c) because they are more portable, in
# particular the BSD make understands the former but not the
# latter
.SUFFIXES: .o .c .cpp .cxx .rsrc .r
.SUFFIXES: .o .c .cpp .cxx .rsrc .r .mm
.c.o:
$(CC) -c $(CFLAGS) $(PICFLAGS) -o $@ $<
@@ -29,6 +29,10 @@ include ./src/make.env
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(PICFLAGS) -o $@ $<
# Objective-C++, right now just use CXXFLAGS
.mm.o:
$(CXX) -c $(CXXFLAGS) $(PICFLAGS) -o $@ $<
.rsrc.r:
$(DEREZ) $^ Carbon.r -useDF > $@