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