diff options
| -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 8bf92272..b3e050a0 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 |
