diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-11-19 10:47:35 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-11-19 10:47:35 (GMT) |
commit | 84c97e979c1a301ba863d11973227d5c5bb84de8 (patch) | |
tree | 9b2030f9aa838c50da1f6ce5d9d8afad49a907f4 /Makefile | |
parent | 862325bf7ce6b06e05b16f8080044fb7d5e3dc18 (diff) | |
download | mxe-84c97e979c1a301ba863d11973227d5c5bb84de8.zip mxe-84c97e979c1a301ba863d11973227d5c5bb84de8.tar.gz mxe-84c97e979c1a301ba863d11973227d5c5bb84de8.tar.bz2 |
check requirements only at the first time and after each change to the main Makefile (which possibly changed the list of requirements)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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)) |