mirror of https://git.ffmpeg.org/ffmpeg.git
build: rearrange some lines in a more logical way
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
4f8da7e7dc
commit
d93d7349ce
7
Makefile
7
Makefile
|
@ -74,12 +74,15 @@ endef
|
|||
|
||||
$(foreach D,$(FFLIBS),$(eval $(call DOSUBDIR,lib$(D))))
|
||||
|
||||
ffplay.o: CFLAGS += $(SDL_CFLAGS)
|
||||
ffplay$(EXESUF): FF_EXTRALIBS += $(SDL_LIBS)
|
||||
ffserver$(EXESUF): FF_LDFLAGS += $(FFSERVERLDFLAGS)
|
||||
|
||||
%$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS)
|
||||
$(LD) $(FF_LDFLAGS) -o $@ $< cmdutils.o $(FF_EXTRALIBS)
|
||||
|
||||
alltools: $(TOOLS)
|
||||
|
||||
tools/%$(EXESUF): tools/%.o
|
||||
$(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
|
||||
|
||||
|
@ -89,8 +92,6 @@ tools/%.o: tools/%.c
|
|||
-include $(wildcard tools/*.d)
|
||||
-include $(wildcard tests/*.d)
|
||||
|
||||
ffplay.o: CFLAGS += $(SDL_CFLAGS)
|
||||
|
||||
VERSION_SH = $(SRC_PATH_BARE)/version.sh
|
||||
GIT_LOG = $(SRC_PATH_BARE)/.git/logs/HEAD
|
||||
|
||||
|
@ -104,8 +105,6 @@ version.h .version:
|
|||
# force version.sh to run whenever version might have changed
|
||||
-include .version
|
||||
|
||||
alltools: $(TOOLS)
|
||||
|
||||
DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html) $(HTMLPAGES) $(MANPAGES) $(PODPAGES)
|
||||
|
||||
documentation: $(DOCS)
|
||||
|
|
Loading…
Reference in New Issue