Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
ifeq ($(origin MAKE_VERSION),undefined)
$(error GNU make >= 4 is required. MAKE_VERSION is undefined, so GNU make may not be installed or in use. Run 'make --version' to verify.)
endif
Comment on lines +1 to +3

MAKE_MAJOR := $(firstword $(subst ., ,$(MAKE_VERSION)))
ifneq ($(filter 0 1 2 3,$(MAKE_MAJOR)),)
$(error GNU make >= 4 is required. Found version $(MAKE_VERSION). Run 'make --version' to check your current version.)
endif

.PHONY: all configure pkgs pre-stow quick stow

MKFILE_PATH := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
Expand Down