diff options
author | Andrew Belt <andrewpbelt@gmail.com> | 2024-03-26 11:54:13 -0400 |
---|---|---|
committer | Andrew Belt <andrewpbelt@gmail.com> | 2024-03-26 11:54:13 -0400 |
commit | db77137a23695a420d70d4377ce5a9a5a27cdce5 (patch) | |
tree | 1904f3898bac5fe69290462f91ba4e2d5c8b8e15 /compile.mk | |
parent | be06ea09f08965f2471b6ca8edc02c4f04ee4a23 (diff) |
Compile .m and .mm files in src/ on Mac.
Diffstat (limited to 'compile.mk')
-rw-r--r-- | compile.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -94,6 +94,10 @@ build/%.m.o: %.m @mkdir -p $(@D) $(CC) $(CFLAGS) -c -o $@ $< +build/%.mm.o: %.mm + @mkdir -p $(@D) + $(CC) $(CXXFLAGS) -c -o $@ $< + build/%.bin.o: % @mkdir -p $(@D) ifdef ARCH_LIN |