From 27f91d06d94d4bbfcaf9ae3281c5c537b4332d3a Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 5 Oct 2006 17:12:48 +0000 Subject: [PATCH] Sync with FFmpeg r6563. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20074 b3059339-0415-0410-9bf9-f77b7e298cf2 --- common.mak | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common.mak b/common.mak index cc7c7823f4..7ef4693b12 100644 --- a/common.mak +++ b/common.mak @@ -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