From 39989a809365a18a4ed98828837f8d51fe38be4e Mon Sep 17 00:00:00 2001 From: David Elliott Date: Fri, 21 Mar 2003 03:27:39 +0000 Subject: [PATCH] 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 --- Makefile.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index a4cd93ea94..e4e37c9151 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 > $@ -- 2.45.2