ZIP file support.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 23 Jul 2001 04:45:26 +0000
changeset 43 8a68085acebf
parent 42 c9cab2b09437
child 44 534901592376
ZIP file support.
Makefile
--- a/Makefile	Mon Jul 16 17:37:50 2001 +0000
+++ b/Makefile	Mon Jul 23 04:45:26 2001 +0000
@@ -37,7 +37,7 @@
 # Set the archive types you'd like to support.
 #  Note that various archives may need external libraries.
 #-----------------------------------------------------------------------------#
-use_archive_zip := false
+use_archive_zip := true
 use_archive_grp := true
 
 #-----------------------------------------------------------------------------#
@@ -144,8 +144,9 @@
 MAINSRCS := physfs.c platform/unix.c archivers/dir.c
 
 ifeq ($(strip $(use_archive_zip)),true)
-MAINSRCS += archivers/zip.c
+MAINSRCS += archivers/zip.c archivers/unzip.c
 CFLAGS += -DPHYSFS_SUPPORTS_ZIP
+LDFLAGS += -lz
 endif
 
 ifeq ($(strip $(use_archive_grp)),true)