Makefile
changeset 43 8a68085acebf
parent 36 60b6076ae5c2
child 56 6a04b6c1db0e
--- 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)