summaryrefslogtreecommitdiffstats
path: root/isys/gzlib/Makefile
blob: c591ed9c02d8c1deb73b9533a368a93366ec6806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
include ../../Makefile.inc

CFLAGS += -I . -fPIC
SOURCES = bits.c gzip.c inflate.c lzw.c trees.c unzip.c util.c zip.c binding.c \
	  deflate.c zip.c
OBJS = $(patsubst %.c,%.o,$(SOURCES))

all: libgunzip.a($(OBJS)) test

test: libgunzip.a test.c
	$(CC) $(CFLAGS) -o test test.c libgunzip.a

clean:	
	rm -f libgunzip.a $(OBJS)