Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: third_party/zlib/contrib/minizip/Makefile

Issue 16605: Add zlib/contrib/minizip to third_party/zlib... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/zlib/contrib/minizip/ChangeLogUnzip ('k') | third_party/zlib/contrib/minizip/crypt.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/zlib/contrib/minizip/Makefile
===================================================================
--- third_party/zlib/contrib/minizip/Makefile (revision 0)
+++ third_party/zlib/contrib/minizip/Makefile (revision 0)
@@ -0,0 +1,25 @@
+CC=cc
+CFLAGS=-O -I../..
+
+UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a
+ZIP_OBJS = minizip.o zip.o ioapi.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
Property changes on: third_party\zlib\contrib\minizip\Makefile
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « third_party/zlib/contrib/minizip/ChangeLogUnzip ('k') | third_party/zlib/contrib/minizip/crypt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698