Commit e5222d4b authored by glantau's avatar glantau

added new ffplay program


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@143 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 03764a30
......@@ -15,7 +15,7 @@ EXE=.exe
PROG=ffmpeg$(EXE)
else
EXT=
PROG=ffmpeg ffserver
PROG=ffmpeg ffplay ffserver
endif
all: lib $(PROG)
......@@ -30,11 +30,15 @@ ffmpeg$(EXE): ffmpeg.o libav/libav.a libavcodec/libavcodec.a
ffserver$(EXE): ffserver.o libav/libav.a libavcodec/libavcodec.a
$(CC) $(LDFLAGS) -o $@ $^ -lm
ffplay: ffmpeg$(EXE)
ln -sf $< $@
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
install: all
install -s -m 755 $(PROG) $(prefix)/bin
ln -sf ffmpeg $(prefix)/bin/ffplay
clean:
$(MAKE) -C libavcodec clean
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment