diff options
author | Elliott Hughes <enh@google.com> | 2024-01-23 00:11:46 +0000 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2024-01-23 00:11:46 +0000 |
commit | 76b49a3a72593a27f314aff65b3ebf8db2352918 (patch) | |
tree | fb2e71bbb824db2702d1eb1f530c1f6142df081a /contrib/minizip/Makefile | |
parent | 8dfcd22af5ffad0e16ec1023d0a189afd39c9b21 (diff) | |
parent | 63c0cec0344e6ba70f22bd690187088299baaa94 (diff) | |
download | zlib-76b49a3a72593a27f314aff65b3ebf8db2352918.tar.gz |
Upgrade zlib to 63c0cec0344e6ba70f22bd690187088299baaa94
This project was upgraded with external_updater.
Usage: tools/external_updater/updater.sh update zlib
For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md
Test: TreeHugger
Change-Id: I23d52b6301d2ed861155d66cdc9655f0eb06ba7d
Diffstat (limited to 'contrib/minizip/Makefile')
-rw-r--r-- | contrib/minizip/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/minizip/Makefile b/contrib/minizip/Makefile index 84eaad2..aac76e0 100644 --- a/contrib/minizip/Makefile +++ b/contrib/minizip/Makefile @@ -1,5 +1,5 @@ CC=cc -CFLAGS=-O -I../.. +CFLAGS := $(CFLAGS) -O -I../.. UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a ZIP_OBJS = minizip.o zip.o ioapi.o ../../libz.a @@ -16,10 +16,14 @@ minizip: $(ZIP_OBJS) $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS) test: miniunz minizip - ./minizip test readme.txt + @rm -f test.* + @echo hello hello hello > test.txt + ./minizip test test.txt ./miniunz -l test.zip - mv readme.txt readme.old + @mv test.txt test.old ./miniunz test.zip + @cmp test.txt test.old + @rm -f test.* clean: - /bin/rm -f *.o *~ minizip miniunz + /bin/rm -f *.o *~ minizip miniunz test.* |