summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-06-06 23:00:26 +0100
committerMans Rullgard <mans@mansr.com>2011-06-07 01:28:15 +0100
commit6d170962bd611d6336362d5da067d5a757d627f7 (patch)
tree24429f7d1185f1a3f31f19521eefff0e266e7dc1 /Makefile
parentd93d7349ceb963150100d3c1b8649d234e396616 (diff)
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@mansr.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f745a939bc..db1a9bd150 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)