also compile the programs in the util directory by default, not only

do we want to test they can be compiled, but also samples may use/require
them. we might want to install them too, perhaps
This commit is contained in:
mrdudz
2022-02-05 17:28:11 +01:00
parent 98bc021c5a
commit afe9d6a2eb
5 changed files with 66 additions and 1 deletions

17
util/zlib/Makefile Normal file
View File

@@ -0,0 +1,17 @@
.PHONY: mostlyclean clean
zlib: warning
#zlib: deflater
warning:
@echo "deflater needs zlib installed, use 'make deflater' to build"
deflater: deflater.c
$(CC) $(CFLAGS) -o deflater deflater.c -lz
mostlyclean clean:
$(RM) deflater
install zip: