From be67b1e96156b6e059b516d62383b840c7e935d0 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 7 Jul 2001 08:28:51 +0000 Subject: [PATCH] Changes for subdirs. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d4c55e33..892101eb 100644 --- a/Makefile +++ b/Makefile @@ -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