diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2024-07-29 15:29:22 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2024-07-31 22:32:56 -0700 |
commit | 4cacc3562b5f24832a78a060e64d54fd54ceba1f (patch) | |
tree | d73aff01a132944211f34927502066b33677c098 /contrib | |
parent | be24a8f4ca8ae9870c1af4bd5a59375bb36c49fc (diff) | |
download | zlib-4cacc3562b5f24832a78a060e64d54fd54ceba1f.tar.gz zlib-4cacc3562b5f24832a78a060e64d54fd54ceba1f.tar.bz2 zlib-4cacc3562b5f24832a78a060e64d54fd54ceba1f.zip |
Add header file dependencies to contrib/minizip/Makefile.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/minizip/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/contrib/minizip/Makefile b/contrib/minizip/Makefile index 8bf9227..b3e050a 100644 --- a/contrib/minizip/Makefile +++ b/contrib/minizip/Makefile | |||
@@ -9,13 +9,21 @@ ZIP_OBJS = minizip.o zip.o ioapi.o ../../libz.a | |||
9 | 9 | ||
10 | all: miniunz minizip | 10 | all: miniunz minizip |
11 | 11 | ||
12 | miniunz: $(UNZ_OBJS) | 12 | miniunz.o: miniunz.c unzip.h iowin32.h |
13 | minizip.o: minizip.c zip.h iowin32.h ints.h | ||
14 | unzip.o: unzip.c unzip.h crypt.h | ||
15 | zip.o: zip.c zip.h crypt.h skipset.h ints.h | ||
16 | ioapi.o: ioapi.c ioapi.h ints.h | ||
17 | iowin32.o: iowin32.c iowin32.h ioapi.h | ||
18 | mztools.o: mztools.c unzip.h | ||
19 | |||
20 | miniunz: $(UNZ_OBJS) | ||
13 | $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS) | 21 | $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS) |
14 | 22 | ||
15 | minizip: $(ZIP_OBJS) | 23 | minizip: $(ZIP_OBJS) |
16 | $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS) | 24 | $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS) |
17 | 25 | ||
18 | test: miniunz minizip | 26 | test: miniunz minizip |
19 | @rm -f test.* | 27 | @rm -f test.* |
20 | @echo hello hello hello > test.txt | 28 | @echo hello hello hello > test.txt |
21 | ./minizip test test.txt | 29 | ./minizip test test.txt |