Changes for subdirs.

This commit is contained in:
Ryan C. Gordon 2001-07-07 08:28:51 +00:00
parent 9c4faeaa88
commit be67b1e961
1 changed files with 4 additions and 2 deletions

View File

@ -138,10 +138,10 @@ ASMFLAGS := -f $(ASMOBJFMT) $(ASMDEFS)
BASELIBNAME := physfs
MAINLIB := $(BINDIR)/$(strip $(BASELIBNAME))$(strip $(LIB_EXT))
MAINSRCS := physfs.c unix.c dir.c
MAINSRCS := physfs.c platform/unix.c archivers/dir.c
ifeq ($(strip $(use_archive_zip)),true)
MAINSRCS += zip.c
MAINSRCS += archivers/zip.c
CFLAGS += -DPHYSFS_SUPPORTS_ZIP
endif
@ -182,6 +182,8 @@ $(MAINLIB) : $(BINDIR) $(MAINOBJS)
$(BINDIR):
mkdir -p $(BINDIR)
mkdir -p $(BINDIR)/archive_drivers
mkdir -p $(BINDIR)/platform
distclean: clean