Explorar o código

Changes for subdirs.

Ryan C. Gordon %!s(int64=25) %!d(string=hai) anos
pai
achega
be67b1e961
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      Makefile

+ 4 - 2
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