Skip to content

Commit

Permalink
Use original make and options when Makefile runs make.
Browse files Browse the repository at this point in the history
Also avoid the use of the -C option for non-GNU make.
  • Loading branch information
madler committed Aug 18, 2023
1 parent 25bbd7f commit 899ffef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 899ffef

Please sign in to comment.