From 8b6fad3e7ca1aed4b035950b168146cd102dab34 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 23 Jul 2001 04:45:26 +0000 Subject: [PATCH] ZIP file support. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c78838e9..1d7925d8 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ debugging := true # 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 @@ TESTSRCS := test/test_physfs.c 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)