mirror of https://github.com/mpv-player/mpv
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:
parent
8f167fc5c5
commit
7b4015bf3b
|
@ -14,7 +14,7 @@ SRCS = dvd_input.c \
|
|||
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
|
||||
LIB=libdvdread
|
||||
LIBNAME = libdvdread.a
|
||||
|
||||
.SUFFIXES: .c .o
|
||||
|
||||
|
@ -28,11 +28,11 @@ endif
|
|||
.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
|
||||
|
|
|
@ -12,7 +12,7 @@ SRCS = css.c \
|
|||
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
|
||||
LIB=libdvdcss
|
||||
LIBNAME = libdvdcss.a
|
||||
|
||||
.SUFFIXES: .c .o
|
||||
|
||||
|
@ -31,11 +31,11 @@ endif
|
|||
.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
|
||||
|
|
Loading…
Reference in New Issue