From c90d078fb7d5ec262bd89595b5d418ea444b7b28 Mon Sep 17 00:00:00 2001 From: Silver Dream ! Date: Wed, 2 Nov 2022 16:43:21 +0000 Subject: [PATCH] Silencing confusing util/zlib 'warning' target --- util/zlib/Makefile | 10 ++++++---- util/zlib/readme.txt | 2 ++ 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 util/zlib/readme.txt diff --git a/util/zlib/Makefile b/util/zlib/Makefile index 3770e1f3c..3b2c7c816 100644 --- a/util/zlib/Makefile +++ b/util/zlib/Makefile @@ -9,17 +9,19 @@ CFLAGS += -O3 -Wall -Wextra -Wno-char-subscripts $(USER_CFLAGS) .PHONY: mostlyclean clean -zlib: warning +zlib: +#zlib: warning #zlib: deflater warning: - @echo "deflater needs zlib installed, use 'make deflater' to build" + @echo "util/zlib/deflater is no longer built by default" + @echo "use 'make deflater' to build if you need it" + @echo "note that you need zlib installed first" deflater: deflater.c $(CC) $(CFLAGS) -o deflater deflater.c -lz mostlyclean clean: $(RM) deflater - -install zip: +install zip: diff --git a/util/zlib/readme.txt b/util/zlib/readme.txt new file mode 100644 index 000000000..90e15871c --- /dev/null +++ b/util/zlib/readme.txt @@ -0,0 +1,2 @@ +Deflater program in this directory is not built by default +Use 'make deflater' to build. Note that you need zlib installed first