Commit | Line | Data |
---|---|---|
4920c9ac | 1 | |
5de08d7d CM |
2 | CFLAGS = -g -Wall |
3 | headers = radix-tree.h ctree.h disk-io.h kerncompat.h print-tree.h | |
4 | objects = ctree.o disk-io.o radix-tree.o mkfs.o extent-tree.o print-tree.o | |
eb60ceac | 5 | |
5de08d7d CM |
6 | #.c.o: |
7 | # $(CC) $(CFLAGS) -c $< | |
eb60ceac | 8 | |
fec577fb CM |
9 | all: tester debug-tree |
10 | ||
11 | debug-tree: $(objects) debug-tree.o | |
12 | gcc $(CFLAGS) -o debug-tree $(objects) debug-tree.o | |
13 | ||
14 | tester: $(objects) random-test.o | |
15 | gcc $(CFLAGS) -o tester $(objects) random-test.o | |
4920c9ac | 16 | |
5de08d7d CM |
17 | $(objects) : $(headers) |
18 | ||
19 | clean : | |
eb60ceac | 20 | rm ctree *.o |
4920c9ac | 21 | |
fec577fb | 22 |