add file read/write stuff
[tfsprogs.git] / Makefile
blob8b1867d6f7b58836f9b6ad09883bea392f596f52
1 all: mktfs #inode
3 mktfs: mktfs.c cache.c utils.c dir.c ialloc.c balloc.c inode.c super.c file.c tfs.h dirent.h cache.h
4 gcc -g -o mktfs mktfs.c utils.c dir.c ialloc.c balloc.c cache.c inode.c super.c file.c
6 balloc: balloc.c utils.c super.c tfs.h
7 gcc -g -o balloc balloc.c utils.c super.c
9 ialloc: ialloc.c utils.c super.c tfs.h
10 gcc -g -o ialloc ialloc.c utils.c super.c
12 inode: inode.c utils.c super.c cache.c balloc.c dir.c tfs.h
13 gcc -g -o inode inode.c utils.c super.c ialloc.c cache.c dir.c balloc.c
15 dir: dir.c utils.c super.c cache.c balloc.c tfs.h cache.h dirent.h
16 gcc -g -o dir dir.c cache.c utils.c super.c balloc.c
18 new:
19 qemu-img create tfs.img 1M
21 mkfs: new
22 ./mktfs tfs.img 0 design
24 clean:
25 rm -f mktfs balloc ialloc inode dir *.o