Skip to content
Snippets Groups Projects
Commit 4e74e30b authored by Ralph Giles's avatar 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
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment