]> git.saurik.com Git - wxWidgets.git/commitdiff
Append .mm to .SUFFIXES list
authorDavid Elliott <dfe@tgwbd.org>
Fri, 21 Mar 2003 03:27:39 +0000 (03:27 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Fri, 21 Mar 2003 03:27:39 +0000 (03:27 +0000)
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

Makefile.in

index a4cd93ea94020b643eddb9107b6b58ebe3305e34..e4e37c9151677115c8a23b8234c394ceb863d3d4 100644 (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 > $@