source: trunk/third/zlib/contrib/minizip/Makefile @ 15211

Revision 15211, 441 bytes checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15210, which included commits to RCS files with non-trunk default branches.
Line 
1CC=cc
2CFLAGS=-O -I../..
3
4UNZ_OBJS = miniunz.o unzip.o ../../libz.a
5ZIP_OBJS = minizip.o zip.o   ../../libz.a
6
7.c.o:
8        $(CC) -c $(CFLAGS) $*.c
9
10all: miniunz minizip
11
12miniunz:  $(UNZ_OBJS)
13        $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS)
14
15minizip:  $(ZIP_OBJS)
16        $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS)
17
18test:   miniunz minizip
19        ./minizip test readme.txt
20        ./miniunz -l test.zip
21        mv readme.txt readme.old
22        ./miniunz test.zip
23
24clean:
25        /bin/rm -f *.o *~ minizip miniunz
Note: See TracBrowser for help on using the repository browser.