summaryrefslogtreecommitdiff
path: root/src/zlib/Makefile
blob: 7ba1cb38207745a37379d05c72031835fb7bc07b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
OBJS = unzip.o ioapi.o

ifeq ($(findstring MINGW,$(CFLAGS)), MINGW)
	OBJS += iowin32.o
endif

.c.o:
	$(CC) -c $(CFLAGS) $*.c

all: unz.o

unz.o: $(OBJS)
	ar rcs $@ $(OBJS)

clean:
	rm -f *.o

# DO NOT DELETE
ioapi.o: ioapi.h
unzip.o: unzip.h ioapi.h crypt.h