summaryrefslogtreecommitdiff
path: root/src/zlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/zlib/Makefile')
-rw-r--r--src/zlib/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/zlib/Makefile b/src/zlib/Makefile
new file mode 100644
index 000000000..21bd6cf37
--- /dev/null
+++ b/src/zlib/Makefile
@@ -0,0 +1,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