diff libvo/Makefile @ 21259:92b122592776

Merge common parts of all Makefiles into one file included by all.
author diego
date Sun, 26 Nov 2006 18:12:36 +0000
parents 36046375aacd
children a396402b091b
line wrap: on
line diff
--- a/libvo/Makefile	Sun Nov 26 18:06:11 2006 +0000
+++ b/libvo/Makefile	Sun Nov 26 18:12:36 2006 +0000
@@ -46,40 +46,15 @@
 SRCS += vosub_vidix.c
 endif
 
-INCLUDE = -I. -I.. -I../osdep $(LIBAV_INC)
-CFLAGS  = $(INCLUDE) $(OPTFLAGS)
-
-#CFLAGS += -Wall
+CFLAGS = -I.. -I../osdep $(LIBAV_INC)
 
-.SUFFIXES: .c .o .m
-
-# .PHONY: all clean
-
-.c.o:
-	$(CC) -c $(CFLAGS) -o $@ $<
+include ../mpcommon.mak
 
 .m.o:
 	$(CC) -c $(CFLAGS) -o $@ $<
 
 all:    $(LIBS)
 
-$(LIBNAME): $(OBJS)
-	$(AR) r $@ $^
-	$(RANLIB) $@
-
 $(LIBNAME2): $(OBJS2)
 	$(AR) r $@ $^
 	$(RANLIB) $@
-
-clean:
-	rm -f *.o *.a *~
-
-distclean: clean
-	rm -f .depend
-
-dep depend:
-	$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
-
-ifneq ($(wildcard .depend),)
-include .depend
-endif