1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

Merge pull request #1902 from silverdr/master

Silencing confusing util/zlib 'warning' target
This commit is contained in:
Bob Andrews 2022-11-02 18:00:53 +01:00 committed by GitHub
commit d151a1e38a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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