mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
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>
This commit is contained in:
commit
8227d36bd3
8
Makefile
8
Makefile
@ -91,8 +91,8 @@ endef
|
|||||||
$(foreach D,$(FFLIBS),$(eval $(call DOSUBDIR,lib$(D))))
|
$(foreach D,$(FFLIBS),$(eval $(call DOSUBDIR,lib$(D))))
|
||||||
|
|
||||||
define DOPROG
|
define DOPROG
|
||||||
OBJS-$(1) += $(1).o
|
OBJS-$(1) += $(1).o cmdutils.o
|
||||||
$(1)$(PROGSSUF)_g$(EXESUF): $(OBJS-$(1))
|
$(1)$(PROGSSUF)_g$(EXESUF): $$(OBJS-$(1))
|
||||||
$$(OBJS-$(1)): CFLAGS += $(CFLAGS-$(1))
|
$$(OBJS-$(1)): CFLAGS += $(CFLAGS-$(1))
|
||||||
$(1)$(PROGSSUF)_g$(EXESUF): LDFLAGS += $(LDFLAGS-$(1))
|
$(1)$(PROGSSUF)_g$(EXESUF): LDFLAGS += $(LDFLAGS-$(1))
|
||||||
$(1)$(PROGSSUF)_g$(EXESUF): FF_EXTRALIBS += $(LIBS-$(1))
|
$(1)$(PROGSSUF)_g$(EXESUF): FF_EXTRALIBS += $(LIBS-$(1))
|
||||||
@ -101,8 +101,8 @@ endef
|
|||||||
|
|
||||||
$(foreach P,$(PROGS-yes),$(eval $(call DOPROG,$(P))))
|
$(foreach P,$(PROGS-yes),$(eval $(call DOPROG,$(P))))
|
||||||
|
|
||||||
%$(PROGSSUF)_g$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS)
|
%$(PROGSSUF)_g$(EXESUF): %.o $(FF_DEP_LIBS)
|
||||||
$(LD) $(LDFLAGS) $(LD_O) $(OBJS-$*) cmdutils.o $(FF_EXTRALIBS)
|
$(LD) $(LDFLAGS) $(LD_O) $(OBJS-$*) $(FF_EXTRALIBS)
|
||||||
|
|
||||||
OBJDIRS += tools
|
OBJDIRS += tools
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user