include only files actually built in SRCS
authorMåns Rullgård <mans@mansr.com>
Thu, 8 Mar 2007 00:24:14 +0000 (00:24 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 8 Mar 2007 00:24:14 +0000 (00:24 +0000)
Originally committed as revision 8289 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index 15d9daf..d49bb1c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ all: documentation
 install: install-man
 endif
 
-SRCS = ffmpeg.c ffserver.c cmdutils.c ffplay.c
+SRCS = $(addsuffix .c, $(PROGS-yes)) cmdutils.c
 LDFLAGS := -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil $(LDFLAGS)
 EXTRALIBS := -lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)