diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-07-22 12:46:15 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-07-22 12:46:15 +0000 |
commit | 8de65d4f1170e81da42060689bba8fedc184ddf5 (patch) | |
tree | 469d352df4b1adc0e3c117473fe81234775a4d85 /Makefile | |
parent | 6a6362f0885a2edfdfbe35aab178cf61cb1cfe7b (diff) | |
download | ffmpeg-8de65d4f1170e81da42060689bba8fedc184ddf5.tar.gz |
long awaited simple libavformat output API example
Originally committed as revision 2069 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -25,6 +25,7 @@ endif endif PROG=ffmpeg$(EXE) +PROGTEST=output_example$(EXE) ifeq ($(CONFIG_FFSERVER),yes) PROG+=ffserver$(EXE) @@ -75,7 +76,7 @@ OBJS = ffmpeg.o ffserver.o cmdutils.o ffplay.o SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s) FFLIBS = -L./libavformat -lavformat -L./libavcodec -lavcodec -all: lib $(PROG) $(VHOOK) +all: lib $(PROG) $(PROGTEST) $(VHOOK) lib: $(AMRLIBS) $(MAKE) -C libavcodec all @@ -98,6 +99,9 @@ ffplay$(EXE): ffplay_g$(EXE) cp -p $< $@ $(STRIP) $@ +output_example$(EXE): output_example.o .libs + $(CC) $(LDFLAGS) -o $@ output_example.o $(FFLIBS) $(EXTRALIBS) + ffplay.o: ffplay.c $(CC) $(CFLAGS) $(SDL_CFLAGS) -c -o $@ $< |