From cbda08ac3cdbf7af80a73345281e73fe30233d15 Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Wed, 6 Mar 2019 20:56:22 +0100 Subject: [PATCH] [scripts] Add a default rule for Objective-C --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 091cf0645..0844831f1 100644 --- a/Makefile +++ b/Makefile @@ -113,6 +113,11 @@ $(eval $(call rule_for, \ with_local_version \ )) +$(eval $(call rule_for, \ + OCC, %.o, %.m, \ + $$(CC) $$(SFLAGS) $$(CFLAGS) -c $$< -o $$@ \ +)) + $(eval $(call rule_for, \ LD, %.$$(EXE), , \ $$(LD) $$^ $$(LDFLAGS) -o $$@ \