Skip to content

Commit

Permalink
build: make rule for linking ff* apply only to these targets
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mansr committed Jun 7, 2011
1 parent d93d734 commit 6d17096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6d17096

Please sign in to comment.