more consistency with the other Makefiles.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21230 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-11-25 17:09:25 +00:00
parent 8f167fc5c5
commit 7b4015bf3b
2 changed files with 10 additions and 10 deletions

View File

@ -14,7 +14,7 @@ SRCS = dvd_input.c \
OBJS = $(SRCS:.c=.o) OBJS = $(SRCS:.c=.o)
LIB=libdvdread LIBNAME = libdvdread.a
.SUFFIXES: .c .o .SUFFIXES: .c .o
@ -28,11 +28,11 @@ endif
.c.o: .c.o:
$(CC) $(CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<
all: $(LIB).a all: $(LIBNAME)
$(LIB).a: $(OBJS) $(LIBNAME): $(OBJS)
$(AR) rc $(LIB).a $(OBJS) $(AR) rc $@ $^
$(RANLIB) $(LIB).a $(RANLIB) $@
clean: clean:
rm -f *.o *.a *~ *.so rm -f *.o *.a *~ *.so

View File

@ -12,7 +12,7 @@ SRCS = css.c \
OBJS = $(SRCS:.c=.o) OBJS = $(SRCS:.c=.o)
LIB=libdvdcss LIBNAME = libdvdcss.a
.SUFFIXES: .c .o .SUFFIXES: .c .o
@ -31,11 +31,11 @@ endif
.c.o: .c.o:
$(CC) $(CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<
all: $(LIB).a all: $(LIBNAME)
$(LIB).a: $(OBJS) $(LIBNAME): $(OBJS)
$(AR) rc $(LIB).a $(OBJS) $(AR) rc $@ $^
$(RANLIB) $(LIB).a $(RANLIB) $@
clean: clean:
rm -f *.o *.a *~ *.so rm -f *.o *.a *~ *.so