Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ZIP file support.
  • Loading branch information
icculus committed Jul 23, 2001
1 parent 2dcf174 commit 8b6fad3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Expand Up @@ -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

#-----------------------------------------------------------------------------#
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8b6fad3

Please sign in to comment.