mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
Sync with FFmpeg r6563.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20074 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e801f101df
commit
27f91d06d9
@ -10,6 +10,8 @@ OBJS := $(OBJS) $(ASM_OBJS) $(CPPOBJS)
|
||||
STATIC_OBJS := $(OBJS) $(STATIC_OBJS)
|
||||
SHARED_OBJS := $(OBJS) $(SHARED_OBJS)
|
||||
|
||||
EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
|
||||
|
||||
all: $(EXTRADEPS) $(LIB) $(SLIBNAME)
|
||||
|
||||
$(LIB): $(STATIC_OBJS)
|
||||
@ -34,6 +36,9 @@ $(SLIBNAME_WITH_MAJOR): $(SHARED_OBJS)
|
||||
%.o: %.cpp
|
||||
g++ $(subst -Wall,,$(CFLAGS)) -c -o $@ $<
|
||||
|
||||
%: %.o $(LIB)
|
||||
$(CC) $(LDFLAGS) -o $@ $^ $(EXTRALIBS)
|
||||
|
||||
depend dep: $(SRCS)
|
||||
$(CC) -MM $(CFLAGS) $^ 1>.depend
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user