mirror of https://github.com/mpv-player/mpv
Use standard variable names for SRCS and OBJS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22591 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bc1914ecad
commit
bf422fe209
|
@ -18,12 +18,12 @@ else
|
|||
LIBNAME = libdha.so.$(VERSION)
|
||||
endif
|
||||
|
||||
SRCS=libdha.c \
|
||||
SRCS_MPLAYER = libdha.c \
|
||||
mtrr.c \
|
||||
pci.c \
|
||||
pci_names.c \
|
||||
|
||||
OBJS=$(SRCS:.c=.o)
|
||||
OBJS_MPLAYER=$(SRCS_MPLAYER:.c=.o)
|
||||
|
||||
CFLAGS = -fPIC -I. -I.. $(OPTFLAGS)
|
||||
|
||||
|
@ -42,7 +42,7 @@ endif
|
|||
|
||||
all: pci_names.c $(LIBNAME) $(SHORTNAME)
|
||||
|
||||
$(LIBNAME): $(OBJS)
|
||||
$(LIBNAME): $(OBJS_MPLAYER)
|
||||
ifeq ($(TARGET_WIN32),yes)
|
||||
$(AR) r $@ $^
|
||||
else
|
||||
|
@ -65,7 +65,7 @@ distclean: clean
|
|||
rm -f .depend test
|
||||
|
||||
dep depend: pci_names.c
|
||||
$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
|
||||
$(CC) -MM $(CFLAGS) $(SRCS_MPLAYER) 1>.depend
|
||||
|
||||
install:
|
||||
-mkdir -p $(LIBDIR)
|
||||
|
|
Loading…
Reference in New Issue