Changes for subdirs.
This commit is contained in:
parent
9c4faeaa88
commit
be67b1e961
6
Makefile
6
Makefile
|
@ -138,10 +138,10 @@ ASMFLAGS := -f $(ASMOBJFMT) $(ASMDEFS)
|
||||||
BASELIBNAME := physfs
|
BASELIBNAME := physfs
|
||||||
MAINLIB := $(BINDIR)/$(strip $(BASELIBNAME))$(strip $(LIB_EXT))
|
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)
|
ifeq ($(strip $(use_archive_zip)),true)
|
||||||
MAINSRCS += zip.c
|
MAINSRCS += archivers/zip.c
|
||||||
CFLAGS += -DPHYSFS_SUPPORTS_ZIP
|
CFLAGS += -DPHYSFS_SUPPORTS_ZIP
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -182,6 +182,8 @@ $(MAINLIB) : $(BINDIR) $(MAINOBJS)
|
||||||
|
|
||||||
$(BINDIR):
|
$(BINDIR):
|
||||||
mkdir -p $(BINDIR)
|
mkdir -p $(BINDIR)
|
||||||
|
mkdir -p $(BINDIR)/archive_drivers
|
||||||
|
mkdir -p $(BINDIR)/platform
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue