# HG changeset patch # User diego # Date 1164474565 0 # Node ID e7cd7283f57e42ccbfd17f012a50789618a6b8d3 # Parent 0c68d02f437c6a30282c6fd0ccf4836e40150299 more consistency with the other Makefiles. diff -r 0c68d02f437c -r e7cd7283f57e dvdread/Makefile --- a/dvdread/Makefile Sat Nov 25 17:06:08 2006 +0000 +++ b/dvdread/Makefile Sat Nov 25 17:09:25 2006 +0000 @@ -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 diff -r 0c68d02f437c -r e7cd7283f57e libdvdcss/Makefile --- a/libdvdcss/Makefile Sat Nov 25 17:06:08 2006 +0000 +++ b/libdvdcss/Makefile Sat Nov 25 17:09:25 2006 +0000 @@ -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