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
b9d3c378
Commit
b9d3c378
authored
Jul 20, 2012
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: use COMPILE template for HOSTOBJS
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
a758c5e2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
8 deletions
+3
-8
Makefile
Makefile
+1
-1
common.mak
common.mak
+2
-2
Makefile
doc/Makefile
+0
-2
Makefile
tests/Makefile
+0
-3
No files found.
Makefile
View file @
b9d3c378
...
...
@@ -28,7 +28,7 @@ CFLAGS += $(ECFLAGS)
CCFLAGS
=
$(CPPFLAGS)
$(CFLAGS)
ASFLAGS
:=
$(CPPFLAGS)
$(ASFLAGS)
YASMFLAGS
+=
$(IFLAGS)
-I
$(SRC_PATH)
/libavutil/x86/
-Pconfig
.asm
HOSTC
FLAGS
+=
$(I
FLAGS)
HOSTC
CFLAGS
=
$(IFLAGS)
$(HOSTC
FLAGS)
LDFLAGS
:=
$
(
ALLFFLIBS:%
=
-Llib
%
)
$(LDFLAGS)
define
COMPILE
...
...
common.mak
View file @
b9d3c378
...
...
@@ -33,7 +33,7 @@ checkheaders: $(filter-out $(SKIPHEADERS:.h=.ho),$(ALLHEADERS:.h=.ho))
alltools: $(TOOLS)
$(HOSTOBJS): %.o: %.c
$(
HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
$(
call COMPILE,HOSTCC)
$(HOSTPROGS): %$(HOSTEXESUF): %.o
$(HOSTCC) $(HOSTLDFLAGS) -o $@ $< $(HOSTLIBS)
...
...
@@ -49,4 +49,4 @@ CLEANSUFFIXES = *.d *.o *~ *.ho *.map *.ver
DISTCLEANSUFFIXES = *.pc
LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a
-include $(wildcard $(OBJS:.o=.d) $(TESTOBJS:.o=.d))
-include $(wildcard $(OBJS:.o=.d) $(
HOSTOBJS:.o=.d) $(
TESTOBJS:.o=.d))
doc/Makefile
View file @
b9d3c378
...
...
@@ -17,8 +17,6 @@ documentation: $(DOCS)
TEXIDEP
=
awk
'/^@include/ { printf "$@: $(@D)/%s\n", $$2 }'
<
$<
>
$
(
@:%
=
%.d
)
doc/print_options.o
:
libavformat/options_table.h libavcodec/options_table.h
GENTEXI
=
format codec
GENTEXI
:=
$
(
GENTEXI:%
=
doc/avoptions_%.texi
)
...
...
tests/Makefile
View file @
b9d3c378
...
...
@@ -3,9 +3,6 @@ AREF = tests/data/asynth1.sw
OBJDIRS
+=
tests/data tests/vsynth1
# Required due to missing automatic dependency tracking for HOSTOBJS.
tests/rotozoom.o tests/videogen.o
:
tests/utils.c
tests/vsynth1/00.pgm
:
tests/videogen$(HOSTEXESUF) | tests/vsynth1
$(M)
./
$<
'tests/vsynth1/'
...
...
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