From 3b0f98563913052ab58d088f49586391b7c73672 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Sun, 4 Aug 2024 22:44:31 +0200 Subject: [PATCH] Compile .mm files with CXX rather than CC --- compile.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.mk b/compile.mk index dcc6af0d..8df18508 100644 --- a/compile.mk +++ b/compile.mk @@ -88,7 +88,7 @@ build/%.m.o: %.m build/%.mm.o: %.mm @mkdir -p $(@D) - $(CC) $(CXXFLAGS) -c -o $@ $< + $(CXX) $(CXXFLAGS) -c -o $@ $< build/%.bin.o: % @mkdir -p $(@D)