Silencing confusing util/zlib 'warning' target

This commit is contained in:
Silver Dream ! 2022-11-02 16:43:21 +00:00
parent 5fd2b6fe4b
commit c90d078fb7
2 changed files with 8 additions and 4 deletions

View File

@ -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:

2
util/zlib/readme.txt Normal file
View File

@ -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