summaryrefslogtreecommitdiff
path: root/src/zlib/Makefile
blob: 21bd6cf37ff2e09819dec01139ac74cb169cc9ad (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