Skip to content
Permalink
Browse files
ZIP file support.
  • Loading branch information
icculus committed Jul 23, 2001
1 parent 2dcf174 commit 8b6fad3e7ca1aed4b035950b168146cd102dab34
Showing with 3 additions and 2 deletions.
  1. +3 −2 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)

0 comments on commit 8b6fad3

Please sign in to comment.