From: Mans Rullgard Date: Mon, 6 Jun 2011 22:00:26 +0000 (+0100) Subject: build: make rule for linking ff* apply only to these targets X-Git-Tag: n0.8~141^2~1 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6d170962bd611d6336362d5da067d5a757d627f7;p=coroid%2Fffmpeg_saccubus.git 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 --- diff --git a/Makefile b/Makefile index f745a939b..db1a9bd15 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)