mirror of https://git.wownero.com/dsc/mxe.git
check requirements only at the first time and after each change to the main Makefile (which possibly changed the list of requirements)
This commit is contained in:
parent
862325bf7c
commit
84c97e979c
5
Makefile
5
Makefile
|
@ -86,9 +86,12 @@ define CHECK_REQUIREMENT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
endef
|
endef
|
||||||
check-requirements:
|
check-requirements: $(PREFIX)/installed/check-requirements
|
||||||
|
$(PREFIX)/installed/check-requirements: $(MAKEFILE)
|
||||||
@echo '[check requirements]'
|
@echo '[check requirements]'
|
||||||
$(foreach REQUIREMENT,$(REQUIREMENTS),$(call CHECK_REQUIREMENT,$(REQUIREMENT)))
|
$(foreach REQUIREMENT,$(REQUIREMENTS),$(call CHECK_REQUIREMENT,$(REQUIREMENT)))
|
||||||
|
@[ -d '$(PREFIX)/installed' ] || mkdir -p '$(PREFIX)/installed'
|
||||||
|
@touch '$@'
|
||||||
|
|
||||||
.PHONY: download
|
.PHONY: download
|
||||||
download: $(addprefix download-,$(PKGS))
|
download: $(addprefix download-,$(PKGS))
|
||||||
|
|
Loading…
Reference in New Issue