[MPlayer-cvslog] r22591 - trunk/libdha/Makefile

diego subversion at mplayerhq.hu
Thu Mar 15 01:49:32 CET 2007


Author: diego
Date: Thu Mar 15 01:49:32 2007
New Revision: 22591

Modified:
   trunk/libdha/Makefile

Log:
Use standard variable names for SRCS and OBJS.


Modified: trunk/libdha/Makefile
==============================================================================
--- trunk/libdha/Makefile	(original)
+++ trunk/libdha/Makefile	Thu Mar 15 01:49:32 2007
@@ -18,12 +18,12 @@ else
 LIBNAME = libdha.so.$(VERSION)
 endif
 
-SRCS=libdha.c \
+SRCS_MPLAYER = libdha.c \
      mtrr.c \
      pci.c \
      pci_names.c \
 
-OBJS=$(SRCS:.c=.o)
+OBJS_MPLAYER=$(SRCS_MPLAYER:.c=.o)
 
 CFLAGS  = -fPIC -I. -I.. $(OPTFLAGS)
 
@@ -42,7 +42,7 @@ endif
 
 all: pci_names.c $(LIBNAME) $(SHORTNAME)
 
-$(LIBNAME):     $(OBJS)
+$(LIBNAME): $(OBJS_MPLAYER)
 ifeq ($(TARGET_WIN32),yes)
 	$(AR) r $@ $^
 else
@@ -65,7 +65,7 @@ distclean: clean
 	rm -f .depend test
 
 dep depend: pci_names.c
-	$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
+	$(CC) -MM $(CFLAGS) $(SRCS_MPLAYER) 1>.depend
 
 install:
 	-mkdir -p $(LIBDIR)



More information about the MPlayer-cvslog mailing list