diff libvo/Makefile @ 15291:21e7332ea44e

macosx core video module
author nplourde
date Fri, 29 Apr 2005 11:41:07 +0000
parents d66e3d5865b8
children c1a6002fb140
line wrap: on
line diff
--- a/libvo/Makefile	Fri Apr 29 11:11:59 2005 +0000
+++ b/libvo/Makefile	Fri Apr 29 11:41:07 2005 +0000
@@ -4,7 +4,8 @@
 LIBNAME = libvo.a
 
 SRCS=geometry.c aspect.c aclib.c osd.c font_load.c gtf.c spuenc.c video_out.c vo_null.c vo_mpegpes.c vo_yuv4mpeg.c $(OPTIONAL_SRCS) sub.c font_load_ft.c
-OBJS=$(SRCS:.c=.o)
+OBJS_TEMP=$(basename $(SRCS))
+OBJS=$(OBJS_TEMP:%=%.o)
 
 ifeq ($(VIDIX),yes)
 SRCS += vosub_vidix.c
@@ -19,6 +20,9 @@
 .c.o:
 	$(CC) -c $(CFLAGS) -o $@ $<
 
+.m.o:
+	$(CC) -c $(CFLAGS) -o $@ $<
+
 $(LIBNAME):     $(OBJS)
 	$(AR) r $(LIBNAME) $(OBJS)
 	$(RANLIB) $(LIBNAME)