2 CFLAGS := $(CFLAGS) -O -I../..
4 UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a
5 ZIP_OBJS = minizip.o zip.o ioapi.o ../../libz.a
8 $(CC) -c $(CFLAGS) $*.c
13 $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS)
16 $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS)
20 @echo hello hello hello > test.txt
21 ./minizip test test.txt
25 @cmp test.txt test.old
29 /bin/rm -f *.o *~ minizip miniunz test.*