From c005b541bf9d54327ff860aad88367b854bae3d8 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 9 Jun 2023 13:32:27 +0000 Subject: Add devino, refactor openwrite(v)nclose Signed-off-by: Laurent Bercot --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a160e3b..458f137 100644 --- a/Makefile +++ b/Makefile @@ -7,14 +7,17 @@ it: all +$(shell test -r config.mak) +ifneq ($(.SHELLSTATUS),0) +$(error Missing config.mak; please use ./configure first) +endif + make_need := 3.81 ifeq "" "$(strip $(filter $(make_need), $(firstword $(sort $(make_need) $(MAKE_VERSION)))))" -fail := $(error Your make ($(MAKE_VERSION)) is too old. You need $(make_need) or newer) +$(error Your make ($(MAKE_VERSION)) is too old. You need $(make_need) or newer) endif -CC = $(error Please use ./configure first) - --include config.mak +include config.mak include package/deps.mak version_m := $(basename $(version)) -- cgit v1.2.3