aboutsummaryrefslogtreecommitdiffhomepage
path: root/mpcommon.mak
diff options
context:
space:
mode:
Diffstat (limited to 'mpcommon.mak')
-rw-r--r--mpcommon.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpcommon.mak b/mpcommon.mak
index 6845775da9..d200560bf8 100644
--- a/mpcommon.mak
+++ b/mpcommon.mak
@@ -36,6 +36,9 @@ distclean:: clean
%.ho: %.h
$(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $<
+%.o: %.m
+ $(CC) $(CFLAGS) -c -o $@ $<
+
ALLHEADERS = $(wildcard *.h)
checkheaders: $(ALLHEADERS:.h=.ho)