aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/minizip/Makefile14
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
10all: miniunz minizip 10all: miniunz minizip
11 11
12miniunz: $(UNZ_OBJS) 12miniunz.o: miniunz.c unzip.h iowin32.h
13minizip.o: minizip.c zip.h iowin32.h ints.h
14unzip.o: unzip.c unzip.h crypt.h
15zip.o: zip.c zip.h crypt.h skipset.h ints.h
16ioapi.o: ioapi.c ioapi.h ints.h
17iowin32.o: iowin32.c iowin32.h ioapi.h
18mztools.o: mztools.c unzip.h
19
20miniunz: $(UNZ_OBJS)
13 $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS) 21 $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS)
14 22
15minizip: $(ZIP_OBJS) 23minizip: $(ZIP_OBJS)
16 $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS) 24 $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS)
17 25
18test: miniunz minizip 26test: 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