Move the VFS stuff into its own library.

This commit is contained in:
David Given
2024-10-01 21:06:14 +02:00
parent 12f999e9e4
commit c55032531c
5 changed files with 35 additions and 23 deletions

31
lib/vfs/build.py Normal file
View File

@@ -0,0 +1,31 @@
from build.c import cxxlibrary
cxxlibrary(
name="vfs",
srcs=[
"./acorndfs.cc",
"./amigaffs.cc",
"./appledos.cc",
"./applesingle.cc",
"./brother120fs.cc",
"./cbmfs.cc",
"./cpmfs.cc",
"./fatfs.cc",
"./fluxsectorinterface.cc",
"./imagesectorinterface.cc",
"./lif.cc",
"./machfs.cc",
"./microdos.cc",
"./philefs.cc",
"./prodos.cc",
"./roland.cc",
"./smaky6fs.cc",
"./vfs.cc",
"./zdos.cc",
],
hdrs={
"lib/vfs/applesingle.h": "./applesingle.h",
"lib/vfs/sectorinterface.h": "./sectorinterface.h",
"lib/vfs/vfs.h": "./vfs.h",
},
deps=["+lib"])