Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
ab566cc9
Commit
ab566cc9
authored
Feb 14, 2017
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: Separate logic for building examples from that for building avtools
parent
acb0dea2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
Makefile
Makefile
+1
-1
Makefile
doc/examples/Makefile
+5
-0
No files found.
Makefile
View file @
ab566cc9
...
...
@@ -165,7 +165,7 @@ $(1)$(EXESUF): FF_EXTRALIBS += $(EXTRALIBS-$(1))
-include $$(OBJS-$(1)
:
.o=.d)
endef
$(foreach P,$(
PROGS),$(eval $(call DOPROG,$(P
:
$(EXESUF)=
))))
$(foreach
P,$(
AVPROGS-yes),$(eval
$(call
DOPROG,$(P
))))
$(PROGS)
:
%$(EXESUF): %.o $(FF_DEP_LIBS)
$(LD)
$(LDFLAGS)
$(LDEXEFLAGS)
$(LD_O)
$
(
OBJS-
$*
)
$(FF_EXTRALIBS)
...
...
doc/examples/Makefile
View file @
ab566cc9
...
...
@@ -12,6 +12,9 @@ DOC_EXAMPLES := $(DOC_EXAMPLES-yes:%=doc/examples/%$(EXESUF))
ALL_DOC_EXAMPLES
:=
$(DOC_EXAMPLES)
$
(
DOC_EXAMPLES-:%
=
doc/examples/%
$(EXESUF)
)
PROGS
+=
$(DOC_EXAMPLES)
$(foreach P,$(DOC_EXAMPLES),$(eval OBJS-$(P
:
%$(EXESUF)=%) = $(P:%$(EXESUF)=%).o))
$(DOC_EXAMPLES)
:
%$(EXESUF): %.o
examples
:
$(DOC_EXAMPLES)
$(DOC_EXAMPLES
:
%$(EXESUF)=%.o): | doc/examples
...
...
@@ -23,4 +26,6 @@ clean::
$(RM)
$(ALL_DOC_EXAMPLES)
$(RM)
$
(
CLEANSUFFIXES:%
=
doc/examples/%
)
-include $(wildcard $(DOC_EXAMPLES
:
%$(EXESUF)=%.d))
.PHONY
:
examples
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment