Use Makefile compiler for minizip-test target.

master
Mark Adler 11 months ago
parent 88ec24670e
commit c06dfecb8a
  1. 2
      Makefile.in
  2. 2
      contrib/minizip/Makefile

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

@ -1,4 +1,4 @@
CC=cc CC?=cc
CFLAGS := $(CFLAGS) -O -I../.. CFLAGS := $(CFLAGS) -O -I../..
UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a

Loading…
Cancel
Save