1
0
mirror of https://github.com/madler/zlib.git synced 2026-10-24 02:48:53 +03:00

Fix the minizip Makefile to work with both BSD and GNU make.

It previously relied on a GNU make implicit rule.
This commit is contained in:
Mark Adler
2026-02-16 22:02:09 -08:00
parent f8b0f9b871
commit 6d95c6f685

View File

@@ -14,8 +14,10 @@ iowin32.o: iowin32.c iowin32.h ioapi.h
mztools.o: mztools.c unzip.h
miniunz: $(UNZ_OBJS)
${CC} ${LDFLAGS} -o $@ $(UNZ_OBJS)
minizip: $(ZIP_OBJS)
${CC} ${LDFLAGS} -o $@ $(ZIP_OBJS)
test: miniunz minizip
@rm -f test.*