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
9a19341e
Commit
9a19341e
authored
May 09, 2012
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/examples: rename LDFLAGS to LDLIBS.
parent
4522df52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Makefile
doc/examples/Makefile
+3
-3
No files found.
doc/examples/Makefile
View file @
9a19341e
# use pkg-config for getting CFLAGS abd LD
FLAG
S
# use pkg-config for getting CFLAGS abd LD
LIB
S
FFMPEG_LIBS
=
libavdevice
\
FFMPEG_LIBS
=
libavdevice
\
libavformat
\
libavformat
\
libavfilter
\
libavfilter
\
...
@@ -7,7 +7,7 @@ FFMPEG_LIBS= libavdevice \
...
@@ -7,7 +7,7 @@ FFMPEG_LIBS= libavdevice \
libavutil
\
libavutil
\
CFLAGS
+=
-Wall
$(
shell
pkg-config
--cflags
$(FFMPEG_LIBS))
CFLAGS
+=
-Wall
$(
shell
pkg-config
--cflags
$(FFMPEG_LIBS))
LD
FLAG
S
+=
$(
shell
pkg-config
--libs
$(FFMPEG_LIBS))
LD
LIB
S
+=
$(
shell
pkg-config
--libs
$(FFMPEG_LIBS))
EXAMPLES
=
decoding_encoding
\
EXAMPLES
=
decoding_encoding
\
filtering_video
\
filtering_video
\
...
@@ -18,7 +18,7 @@ EXAMPLES= decoding_encoding \
...
@@ -18,7 +18,7 @@ EXAMPLES= decoding_encoding \
OBJS
=
$
(
addsuffix .o,
$(EXAMPLES)
)
OBJS
=
$
(
addsuffix .o,
$(EXAMPLES)
)
%
:
%.o
%
:
%.o
$(CC)
$<
$(LD
FLAG
S)
-o
$@
$(CC)
$<
$(LD
LIB
S)
-o
$@
%.o
:
%.c
%.o
:
%.c
$(CC)
$<
$(CFLAGS)
-c
-o
$@
$(CC)
$<
$(CFLAGS)
-c
-o
$@
...
...
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