skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit 2ea36ebf726bb3a29ff8c6b12a6ff3df9020859f
parent a151864a1e502fe11d48ec283a77fcfa9d09a61f
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Mon,  6 Nov 2023 13:57:12 +0000

 make distclean shouldn't error out when no config.mak

Signed-off-by: Laurent Bercot <ska@appnovation.com>

Diffstat:
MMakefile | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -7,16 +7,14 @@ it: all -ifeq ($(realpath config.mak),) -$(error Missing config.mak; please use ./configure first) -endif - make_need := 3.81 ifeq "" "$(strip $(filter $(make_need), $(firstword $(sort $(make_need) $(MAKE_VERSION)))))" $(error Your make ($(MAKE_VERSION)) is too old. You need $(make_need) or newer) endif -include config.mak +CC = $(error Please use ./configure first) + +-include config.mak include package/deps.mak version_m := $(basename $(version))