[MPlayer-cvslog] r20074 - trunk/common.mak
diego
subversion at mplayerhq.hu
Thu Oct 5 19:12:48 CEST 2006
Author: diego
Date: Thu Oct 5 19:12:48 2006
New Revision: 20074
Modified:
trunk/common.mak
Log:
Sync with FFmpeg r6563.
Modified: trunk/common.mak
==============================================================================
--- trunk/common.mak (original)
+++ trunk/common.mak Thu Oct 5 19:12:48 2006
@@ -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
More information about the MPlayer-cvslog
mailing list