aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-16 14:15:16 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-16 14:15:16 +0200
commit8227d36bd3569efe0f1a4e3ad877e516497666a4 (patch)
tree01ee1701eddc6a3033ef45b64fa64c6a52636d50 /Makefile
parent83962004f7275a4ea98ca02398ae5dfff59e5fb7 (diff)
parent07b3790d36266358e3bda19cec3b843e5129a986 (diff)
downloadffmpeg-8227d36bd3569efe0f1a4e3ad877e516497666a4.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: build: simplify linking tools with cmdutils.o tiny_psnr: fix range calculation for sample size of 32 bits Conflicts: Makefile tests/tiny_psnr.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0abb300d82..f1570cddc3 100644
--- a/Makefile
+++ b/Makefile
@@ -91,8 +91,8 @@ endef
$(foreach D,$(FFLIBS),$(eval $(call DOSUBDIR,lib$(D))))
define DOPROG
-OBJS-$(1) += $(1).o
-$(1)$(PROGSSUF)_g$(EXESUF): $(OBJS-$(1))
+OBJS-$(1) += $(1).o cmdutils.o
+$(1)$(PROGSSUF)_g$(EXESUF): $$(OBJS-$(1))
$$(OBJS-$(1)): CFLAGS += $(CFLAGS-$(1))
$(1)$(PROGSSUF)_g$(EXESUF): LDFLAGS += $(LDFLAGS-$(1))
$(1)$(PROGSSUF)_g$(EXESUF): FF_EXTRALIBS += $(LIBS-$(1))
@@ -101,8 +101,8 @@ endef
$(foreach P,$(PROGS-yes),$(eval $(call DOPROG,$(P))))
-%$(PROGSSUF)_g$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS)
- $(LD) $(LDFLAGS) $(LD_O) $(OBJS-$*) cmdutils.o $(FF_EXTRALIBS)
+%$(PROGSSUF)_g$(EXESUF): %.o $(FF_DEP_LIBS)
+ $(LD) $(LDFLAGS) $(LD_O) $(OBJS-$*) $(FF_EXTRALIBS)
OBJDIRS += tools