Makefile
changeset 71 105bdb041c03
parent 69 546a95cc5591
child 74 a4a5066fb640
equal deleted inserted replaced
70:203efbe2532e 71:105bdb041c03
   168 MAINSRCS := physfs.c archivers/dir.c
   168 MAINSRCS := physfs.c archivers/dir.c
   169 
   169 
   170 ifeq ($(strip $(use_archive_zip)),true)
   170 ifeq ($(strip $(use_archive_zip)),true)
   171 MAINSRCS += archivers/zip.c archivers/unzip.c
   171 MAINSRCS += archivers/zip.c archivers/unzip.c
   172 CFLAGS += -DPHYSFS_SUPPORTS_ZIP
   172 CFLAGS += -DPHYSFS_SUPPORTS_ZIP
       
   173 ifeq ($(strip $(cygwin)),true)
       
   174 CFLAGS += -Izlibwin32
       
   175 LDFLAGS += zlibwin32/zlibstat.lib
       
   176 else
   173 LDFLAGS += -lz
   177 LDFLAGS += -lz
       
   178 endif
   174 endif
   179 endif
   175 
   180 
   176 ifeq ($(strip $(use_archive_grp)),true)
   181 ifeq ($(strip $(use_archive_grp)),true)
   177 MAINSRCS += archivers/grp.c
   182 MAINSRCS += archivers/grp.c
   178 CFLAGS += -DPHYSFS_SUPPORTS_GRP
   183 CFLAGS += -DPHYSFS_SUPPORTS_GRP