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
|
||||
|
||||
endef
|
||||
check-requirements:
|
||||
check-requirements: $(PREFIX)/installed/check-requirements
|
||||
$(PREFIX)/installed/check-requirements: $(MAKEFILE)
|
||||
@echo '[check requirements]'
|
||||
$(foreach REQUIREMENT,$(REQUIREMENTS),$(call CHECK_REQUIREMENT,$(REQUIREMENT)))
|
||||
@[ -d '$(PREFIX)/installed' ] || mkdir -p '$(PREFIX)/installed'
|
||||
@touch '$@'
|
||||
|
||||
.PHONY: download
|
||||
download: $(addprefix download-,$(PKGS))
|
||||
|
|
Loading…
Reference in New Issue