[MPlayer-cvslog] r22579 - trunk/vidix/drivers/Makefile

diego subversion at mplayerhq.hu
Wed Mar 14 21:19:45 CET 2007


Author: diego
Date: Wed Mar 14 21:19:45 2007
New Revision: 22579

Modified:
   trunk/vidix/drivers/Makefile

Log:
Reuse common parts of all Makefiles through mpcommon.mak.


Modified: trunk/vidix/drivers/Makefile
==============================================================================
--- trunk/vidix/drivers/Makefile	(original)
+++ trunk/vidix/drivers/Makefile	Wed Mar 14 21:19:45 2007
@@ -1,10 +1,12 @@
 include ../../config.mak
 
+SRCS_MPLAYER = $(wildcard *.c)
+
 VIDIX_LIBS   = -L../../libdha -ldha
 VIDIX_LIBS_M = $(VIDIX_LIBS) -lm
 VIDIX_LIBS_X = $(VIDIX_LIBS_M) $(X_LIB)
 
-CFLAGS           = -fPIC -I. -I.. $(OPTFLAGS)
+CFLAGS           = -fPIC
 RAGE128_CFLAGS   = $(CFLAGS) -DRAGE128
 MGA_CRTC2_CFLAGS = $(CFLAGS) -DCRTC2
 
@@ -38,15 +40,7 @@ cyberblade_vid.so nvidia_vid.so mga_vid.
 savage_vid.so:
 	$(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@
 
-clean:
-	rm -f *.o *.so *~
-
-distclean: clean
-	rm -f .depend
-
-dep depend:
-	$(CC) -MM $(CFLAGS) $(wildcard *.c) 1>.depend
-
--include .depend
+include ../../mpcommon.mak
 
-.PHONY: libs clean distclean dep depend
+clean::
+	rm -f *.so



More information about the MPlayer-cvslog mailing list