diff Makefile @ 594:89a09ede50ad libavformat

First implementation of nsv demuxer. Get libavformat linked with lavc and lmp3lame is required. BeOS requires no undefined syms on link! (besides it's bad to leave undef syms)
author mmu_man
date Sat, 20 Nov 2004 23:10:07 +0000
parents 4a755492b90b
children 996fe7d78701
line wrap: on
line diff
--- a/Makefile	Fri Nov 19 18:16:36 2004 +0000
+++ b/Makefile	Sat Nov 20 23:10:07 2004 +0000
@@ -16,7 +16,7 @@
       avienc.o avidec.o wav.o swf.o au.o gif.o mov.o mpjpeg.o dv.o \
       yuv4mpeg.o 4xm.o flvenc.o flvdec.o movenc.o psxstr.o idroq.o ipmovie.o \
       nut.o wc3movie.o mp3.o westwood.o segafilm.o idcin.o flic.o \
-      sierravmd.o matroska.o sol.o electronicarts.o
+      sierravmd.o matroska.o sol.o electronicarts.o nsvdec.o
 
 ifeq ($(CONFIG_RISKY),yes)
 OBJS+= asf.o
@@ -83,6 +83,11 @@
 SLIB= $(SLIBPREF)avformat$(SLIBSUF)
 endif
 
+EXTRALIBS+=-lavcodec -L../libavcodec
+ifeq ($(CONFIG_MP3LAME),yes)
+EXTRALIBS+=-lmp3lame
+endif
+
 SRCS := $(OBJS:.o=.c) $(PPOBJS:.o=.cpp)
 
 all: $(LIB) $(SLIB)