Fsutil: new option --scan to create manifest from directory contents.

This commit is contained in:
Serge Vakulenko
2014-07-31 20:55:42 -07:00
parent c2b3647d5e
commit b44cab756f
3 changed files with 192 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ PROG = fsutil
#LIBS = -largp
# Fuse
CFLAGS += $(shell pkg-config fuse --cflags)
MOUNT_CFLAGS = $(shell pkg-config fuse --cflags)
LIBS += $(shell pkg-config fuse --libs)
all: $(PROG)
@@ -29,6 +29,9 @@ root.bin: $(PROG)
swap.bin:
dd bs=1k count=2048 < /dev/zero > $@
mount.o: mount.c bsdfs.h
$(CC) $(CFLAGS) $(MOUNT_CFLAGS) -c -o $@ $<
block.o: block.c bsdfs.h
check.o: check.c bsdfs.h
create.o: create.c bsdfs.h