Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
dc6632f1
Commit
dc6632f1
authored
Jun 03, 2011
by
Mans Rullgard
Browse files
build: simplify commands for clean target
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
6af28010
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
subdir.mak
subdir.mak
+3
-3
No files found.
subdir.mak
View file @
dc6632f1
...
...
@@ -50,12 +50,12 @@ endif
clean
::
$(RM)
$(
addprefix
$(SUBDIR)
,
*
-example
$(EXESUF)
*
-test
$(EXESUF)
$(CLEANFILES)
$(CLEANSUFFIXES)
$(LIBSUFFIXES)
)
\
$(
addprefix
$(SUB
DIR)
,
$(
foreach
suffix,
$(CLEANSUFFIXES)
,
$(
addsuffix
/
$(suffix)
,
$(DIRS)
)
))
\
$(
foreach
dir
,
$(
DIR
S
)
,
$
(
CLEANSUFFIXES:%
=
$(SUBDIR)$(dir)
/%
))
\
$(HOSTOBJS)
$(HOSTPROGS)
distclean
::
clean
$(RM)
$(
addprefix
$(SUBDIR)
,
$(DISTCLEANSUFFIXES
)
)
\
$(
addprefix
$(SUBDIR)
,
$(
foreach
suffix,
$(DISTCLEANSUFFIXES)
,
$(
addsuffix
/
$(suffix)
,
$(DIRS)
)
))
$(RM)
$
(
DISTCLEANSUFFIXES
:%
=
$(SUBDIR)
%
)
\
$(
foreach
dir
,
$(DIRS)
,
$
(
DISTCLEANSUFFIXES:%
=
$(SUBDIR)$(dir)
/%
))
install-lib$(NAME)-shared
:
$(SUBDIR)$(SLIBNAME)
$(Q)
mkdir
-p
"
$(SHLIBDIR)
"
...
...
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