Makefile
changeset 71 105bdb041c03
parent 69 546a95cc5591
child 74 a4a5066fb640
--- a/Makefile	Thu Aug 23 15:39:07 2001 +0000
+++ b/Makefile	Thu Aug 23 16:02:51 2001 +0000
@@ -170,8 +170,13 @@
 ifeq ($(strip $(use_archive_zip)),true)
 MAINSRCS += archivers/zip.c archivers/unzip.c
 CFLAGS += -DPHYSFS_SUPPORTS_ZIP
+ifeq ($(strip $(cygwin)),true)
+CFLAGS += -Izlibwin32
+LDFLAGS += zlibwin32/zlibstat.lib
+else
 LDFLAGS += -lz
 endif
+endif
 
 ifeq ($(strip $(use_archive_grp)),true)
 MAINSRCS += archivers/grp.c