Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timothy B. Terriberry
Opusfile
Commits
4e74e30b
Commit
4e74e30b
authored
Dec 31, 2015
by
Ralph Giles
Browse files
mingw: Add fetch and realclean targets for downloading dependencies.
For those who would like network access to be a separate step.
parent
afd505ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
mingw/Makefile
View file @
4e74e30b
...
...
@@ -34,7 +34,8 @@ clean:
# Generate rules to download and verify each dependency.
define
WGET_template
=
# Generate unpacked tarball name from the url.
# Generate tarball name from the url.
DEP_TARBALLS
+=
$
$(
notdir
$$
(
$(1)
_URL
))
$(1)_DIR
:=
$
$(
basename
$
$(
basename
$
$(
notdir
$$
(
$(1)
_URL
))))
DEP_DIRS
+=
$$
(
$(1)
_DIR
)
...
...
@@ -58,6 +59,11 @@ define WGET_template =
endef
$(foreach
dep,$(DEPS),$(eval
$(call
WGET_template,$(dep))))
fetch
:
$(DEP_TARBALLS)
realclean
:
clean
$(RM)
$(DEP_TARBALLS)
# Build scripts for each specific target.
# NOTE: 'make check' generally requires wine with cross-compiling.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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