changeset 20068:e242e2e8fed4

Sync with FFmpeg r6563.
author diego
date Thu, 05 Oct 2006 17:12:48 +0000
parents c13f577b8cf8
children 609c0cd1a85b
files common.mak
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/common.mak	Thu Oct 05 17:11:05 2006 +0000
+++ b/common.mak	Thu Oct 05 17:12:48 2006 +0000
@@ -10,6 +10,8 @@
 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 @@
 %.o: %.cpp
 	g++ $(subst -Wall,,$(CFLAGS)) -c -o $@ $<
 
+%: %.o $(LIB)
+	$(CC) $(LDFLAGS) -o $@ $^ $(EXTRALIBS)
+
 depend dep: $(SRCS)
 	$(CC) -MM $(CFLAGS) $^ 1>.depend