4 all: pool_test_gen pool_test_run process_test_gen process_test_run mkfs \
5 inode_test_gen inode_test_run
8 pool_test_gen: pool_test_gen.o
9 ${CC} ${CFLAGS} -o $@ $^
11 pool_test_gen.o: pool_test_gen.c
13 pool_test_run: pool_test_run.o pool.o
14 ${CC} ${CFLAGS} -o $@ $^
16 pool_test_run.o: pool_test_run.c pool.h
19 process_test_gen: process_test_gen.o
20 ${CC} ${CFLAGS} -o $@ $^
22 process_test_gen.o: process_test_gen.c process_test.h
24 process_test_run: process_test_run.o process.o process_test.h core.o swap.o block_pool.o pool.o
25 ${CC} ${CFLAGS} -o $@ $^
27 process_test_run.o: process_test_run.c process.h core.h swap.h pool.h fuzix_fs.h util.h
28 process.o: process.c process.h core.h swap.h pool.h fuzix_fs.h
29 core.o: core.c core.h process.h pool.h
30 swap.o: swap.c swap.h process.h pool.h
31 block_pool.o: block_pool.c block_pool.h
33 # ucp no longer compiles because many fs routines commented to save space
34 #ucp.o: ucp.c fuzix_fs.h
35 fuzix_fs.o: fuzix_fs.c fuzix_fs.h
36 util.o: util.c fuzix_fs.h
38 ucp: ucp.o fuzix_fs.o util.o
39 ${CC} ${CFLAGS} -o $@ $^
41 mkfs.o: mkfs.c fuzix_fs.h
44 ${CC} ${CFLAGS} -o $@ $^
46 inode_test_gen: inode_test_gen.o
47 ${CC} ${CFLAGS} -o $@ $^
49 inode_test_gen.o: inode_test_gen.c
51 inode_test_run: inode_test_run.o fuzix_fs.o util.o
52 ${CC} ${CFLAGS} -o $@ $^
54 inode_test_run.o: inode_test_run.c fuzix_fs.h util.h
57 rm -f pool_test_gen pool_test_run process_test_gen process_test_run \
58 ucp mkfs inode_test_gen inode_test_run *.o