diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-11-06 13:57:12 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-11-06 13:57:12 +0000 |
commit | 2ea36ebf726bb3a29ff8c6b12a6ff3df9020859f (patch) | |
tree | 02c8de2467bdbcae915a9a2d396a10709b745f67 | |
parent | a151864a1e502fe11d48ec283a77fcfa9d09a61f (diff) | |
download | skalibs-2ea36ebf726bb3a29ff8c6b12a6ff3df9020859f.tar.gz skalibs-2ea36ebf726bb3a29ff8c6b12a6ff3df9020859f.tar.xz skalibs-2ea36ebf726bb3a29ff8c6b12a6ff3df9020859f.zip |
make distclean shouldn't error out when no config.mak
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r-- | Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile index ea0f133..9608d0a 100644 --- 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)) |