Two fixes
[tfsprogs.git] / Makefile
blobf9c632f13b5e458c614da8913eefdaa7bb41c706
1 CFLAGS = -g -Wall -Wno-unused
2 all: mktfs tfsh
4 mktfs: mktfs.c cache.c utils.c dir.c ialloc.c balloc.c inode.c file.c tfs.h dirent.h cache.h
5 gcc ${CFLAGS} -o mktfs mktfs.c utils.c dir.c ialloc.c balloc.c cache.c inode.c file.c
7 tfsh: shell.c cache.c utils.c dir.c ialloc.c balloc.c inode.c super.c file.c tfs.h dirent.h cache.h
8 gcc ${CFLAGS} -o tfsh shell.c utils.c dir.c ialloc.c balloc.c cache.c inode.c super.c file.c
10 new:
11 qemu-img create tfs.img 1M
13 mkfs: new
14 ./mktfs tfs.img 0 design
16 clean:
17 rm -f mktfs tfsh *.o