diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2000-12-20 00:02:47 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2000-12-20 00:02:47 +0000 |
commit | 9aeeeb63f7e1ab7b0b7bb839a5f258667a2d2d78 (patch) | |
tree | 133769894d45da35e05ded6ea39d33bb81e7ae18 /Makefile | |
parent | 77bb6835ba752bb9335d208963a53227bbb1bc63 (diff) | |
download | ffmpeg-streaming-9aeeeb63f7e1ab7b0b7bb839a5f258667a2d2d78.zip ffmpeg-streaming-9aeeeb63f7e1ab7b0b7bb839a5f258667a2d2d78.tar.gz |
Initial revision
Originally committed as revision 2 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5907849 --- /dev/null +++ b/Makefile @@ -0,0 +1,28 @@ +CFLAGS= -O2 -Wall -g -I./libav +LDFLAGS= -g -L./libav + +PROG= ffmpeg ffserver + +all: lib $(PROG) + +lib: + make -C libav all + +ffmpeg: rmenc.o mpegmux.o asfenc.o jpegenc.o swfenc.o udp.o formats.o grab.o ffmpeg.o libav/libav.a + gcc $(LDFLAGS) -o $@ $^ -lav -lm + +ffserver: rmenc.o mpegmux.o asfenc.o jpegenc.o swfenc.o formats.o grab.o ffserver.o libav/libav.a + gcc $(LDFLAGS) -o $@ $^ -lav -lpthread -lm + +%.o: %.c + gcc $(CFLAGS) -c -o $@ $< + +clean: + make -C libav clean + rm -f *.o *~ gmon.out TAGS $(PROG) + +etags: + etags *.[ch] libav/*.[ch] + +tar: + (cd .. ; tar zcvf ffmpeg-0.3.tgz ffmpeg --exclude CVS --exclude TAGS ) |