summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2002-04-22 19:57:45 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2002-04-22 19:57:45 +0000
commit5751432312d00b707df88d6cda700d76add2b91c (patch)
tree63a5fb55297c2163975e1f283b6792572a19243e /Makefile
parent623563c04a8d32b520bb4fed52851338976daa4d (diff)
* using liba52
Originally committed as revision 417 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b78c92be0d..3f2532ab96 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,9 @@ EXTRALIBS+=-lmp3lame
endif
endif
+OBJS = ffmpeg.o ffserver.o
+SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
+
all: lib $(PROG)
lib:
@@ -52,6 +55,11 @@ install: all
install -s -m 755 $(PROG) $(prefix)/bin
ln -sf ffmpeg $(prefix)/bin/ffplay
+dep: depend
+
+depend:
+ $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
+
clean:
$(MAKE) -C libavcodec clean
$(MAKE) -C libav clean
@@ -63,3 +71,7 @@ distclean: clean
TAGS:
etags *.[ch] libav/*.[ch] libavcodec/*.[ch]
+
+ifneq ($(wildcard .depend),)
+include .depend
+endif