OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [zlib/] [contrib/] [minizip/] [Makefile] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 745 jeremybenn
CC=cc
2
CFLAGS=-O -I../..
3
 
4
UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a
5
ZIP_OBJS = minizip.o zip.o   ioapi.o ../../libz.a
6
 
7
.c.o:
8
        $(CC) -c $(CFLAGS) $*.c
9
 
10
all: miniunz minizip
11
 
12
miniunz:  $(UNZ_OBJS)
13
        $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS)
14
 
15
minizip:  $(ZIP_OBJS)
16
        $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS)
17
 
18
test:   miniunz minizip
19
        ./minizip test readme.txt
20
        ./miniunz -l test.zip
21
        mv readme.txt readme.old
22
        ./miniunz test.zip
23
 
24
clean:
25
        /bin/rm -f *.o *~ minizip miniunz

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.