[FFmpeg-cvslog] build: make rule for linking ff* apply only to these targets

Mans Rullgard git at videolan.org
Tue Jun 7 03:49:13 CEST 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Mon Jun  6 23:00:26 2011 +0100| [6d170962bd611d6336362d5da067d5a757d627f7] | committer: Mans Rullgard

build: make rule for linking ff* apply only to these targets

This ensures that the special link command using cmdutils.o
only applies to the targets it should.

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6d170962bd611d6336362d5da067d5a757d627f7
---

 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index f745a93..db1a9bd 100644
--- a/Makefile
+++ b/Makefile
@@ -78,7 +78,7 @@ ffplay.o: CFLAGS += $(SDL_CFLAGS)
 ffplay$(EXESUF): FF_EXTRALIBS += $(SDL_LIBS)
 ffserver$(EXESUF): FF_LDFLAGS += $(FFSERVERLDFLAGS)
 
-%$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS)
+$(PROGS): %$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS)
 	$(LD) $(FF_LDFLAGS) -o $@ $< cmdutils.o $(FF_EXTRALIBS)
 
 alltools: $(TOOLS)



More information about the ffmpeg-cvslog mailing list