diff options
author | Tom Tromey <tromey@gcc.gnu.org> | 1999-05-04 19:30:25 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 1999-05-04 19:30:25 +0000 |
commit | c45f211ee347bc648b183c5123498c5b7310bb0e (patch) | |
tree | e97105783ac15ce06e3efe366d641f3693aa8974 /zlib/contrib/minizip/Makefile | |
parent | 3d298f8f0e3934f7951b13281976bb9eda021387 (diff) | |
download | gcc-c45f211ee347bc648b183c5123498c5b7310bb0e.tar.gz |
Initial revision
From-SVN: r26770
Diffstat (limited to 'zlib/contrib/minizip/Makefile')
-rw-r--r-- | zlib/contrib/minizip/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/zlib/contrib/minizip/Makefile b/zlib/contrib/minizip/Makefile new file mode 100644 index 00000000000..a1dfc161437 --- /dev/null +++ b/zlib/contrib/minizip/Makefile @@ -0,0 +1,25 @@ +CC=cc +CFLAGS=-O -I../.. + +UNZ_OBJS = miniunz.o unzip.o ../../libz.a +ZIP_OBJS = minizip.o zip.o ../../libz.a + +.c.o: + $(CC) -c $(CFLAGS) $*.c + +all: miniunz minizip + +miniunz: $(UNZ_OBJS) + $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS) + +minizip: $(ZIP_OBJS) + $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS) + +test: miniunz minizip + ./minizip test readme.txt + ./miniunz -l test.zip + mv readme.txt readme.old + ./miniunz test.zip + +clean: + /bin/rm -f *.o *~ minizip miniunz |