[build] Add an Objective-C++ rule

This commit is contained in:
Romain Goyet
2020-02-13 16:26:27 -05:00
committed by Ecco
parent aa0dbee303
commit 1389f336b8

View File

@@ -26,6 +26,11 @@ $(eval $(call rule_for, \
$$(CC) $$(CFLAGS) $$(SFLAGS) -c $$< -o $$@ \
))
$(eval $(call rule_for, \
OCC, %.o, %.mm, \
$$(CXX) $$(CXXFLAGS) $$(SFLAGS) -c $$< -o $$@ \
))
ifeq ($(OS),Windows_NT)
# Work around command-line length limit
# On Msys2 the max command line is 32 000 characters. Our standard LD command