diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-06-09 13:32:27 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-06-09 13:32:27 +0000 |
commit | c005b541bf9d54327ff860aad88367b854bae3d8 (patch) | |
tree | 6af88b1dd6637084b9e20e0c62b764656b9deaf4 /Makefile | |
parent | 4af2899ac7ed0da49db7a6e94914fee391212f92 (diff) | |
download | skalibs-c005b541bf9d54327ff860aad88367b854bae3d8.tar.gz skalibs-c005b541bf9d54327ff860aad88367b854bae3d8.tar.xz skalibs-c005b541bf9d54327ff860aad88367b854bae3d8.zip |
Add devino, refactor openwrite(v)nclose
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
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)) |