Use original make and options when Makefile runs make.

Also avoid the use of the -C option for non-GNU make.
This commit is contained in:
Mark Adler 2023-08-17 22:13:25 -07:00
parent 25bbd7f5a6
commit 899ffefb19

View File

@ -360,10 +360,10 @@ zconf: $(SRCDIR)zconf.h.in
cp -p $(SRCDIR)zconf.h.in zconf.h
minizip-test: static
CFLAGS="$(CFLAGS)" make -C contrib/minizip test
cd contrib/minizip && { CFLAGS="$(CFLAGS)" $(MAKE) test ; cd ../.. ; }
minizip-clean:
make -C contrib/minizip clean
cd contrib/minizip && { $(MAKE) clean ; cd ../.. ; }
mostlyclean: clean
clean: minizip-clean