Mercurial > mplayer.hg
diff dvdread/Makefile @ 21214:e7cd7283f57e
more consistency with the other Makefiles.
author | diego |
---|---|
date | Sat, 25 Nov 2006 17:09:25 +0000 |
parents | 68df3b19a160 |
children | ff1ac890c40a |
line wrap: on
line diff
--- 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