[MPlayer-cvslog] r21230 - in trunk: dvdread/Makefile libdvdcss/Makefile
diego
subversion at mplayerhq.hu
Sat Nov 25 18:09:25 CET 2006
Author: diego
Date: Sat Nov 25 18:09:25 2006
New Revision: 21230
Modified:
trunk/dvdread/Makefile
trunk/libdvdcss/Makefile
Log:
more consistency with the other Makefiles.
Modified: trunk/dvdread/Makefile
==============================================================================
--- trunk/dvdread/Makefile (original)
+++ trunk/dvdread/Makefile Sat Nov 25 18:09:25 2006
@@ -14,7 +14,7 @@
OBJS = $(SRCS:.c=.o)
-LIB=libdvdread
+LIBNAME = libdvdread.a
.SUFFIXES: .c .o
@@ -28,11 +28,11 @@
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
-all: $(LIB).a
+all: $(LIBNAME)
-$(LIB).a: $(OBJS)
- $(AR) rc $(LIB).a $(OBJS)
- $(RANLIB) $(LIB).a
+$(LIBNAME): $(OBJS)
+ $(AR) rc $@ $^
+ $(RANLIB) $@
clean:
rm -f *.o *.a *~ *.so
Modified: trunk/libdvdcss/Makefile
==============================================================================
--- trunk/libdvdcss/Makefile (original)
+++ trunk/libdvdcss/Makefile Sat Nov 25 18:09:25 2006
@@ -12,7 +12,7 @@
OBJS = $(SRCS:.c=.o)
-LIB=libdvdcss
+LIBNAME = libdvdcss.a
.SUFFIXES: .c .o
@@ -31,11 +31,11 @@
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
-all: $(LIB).a
+all: $(LIBNAME)
-$(LIB).a: $(OBJS)
- $(AR) rc $(LIB).a $(OBJS)
- $(RANLIB) $(LIB).a
+$(LIBNAME): $(OBJS)
+ $(AR) rc $@ $^
+ $(RANLIB) $@
clean:
rm -f *.o *.a *~ *.so
More information about the MPlayer-cvslog
mailing list