2007-01-26 16:38:42 -05:00
|
|
|
|
2007-02-24 06:24:44 -05:00
|
|
|
CFLAGS = -g -Wall
|
|
|
|
headers = radix-tree.h ctree.h disk-io.h kerncompat.h print-tree.h
|
|
|
|
objects = ctree.o disk-io.o radix-tree.o mkfs.o extent-tree.o print-tree.o
|
2007-02-02 09:18:22 -05:00
|
|
|
|
2007-02-24 06:24:44 -05:00
|
|
|
#.c.o:
|
|
|
|
# $(CC) $(CFLAGS) -c $<
|
2007-02-02 09:18:22 -05:00
|
|
|
|
2007-02-24 06:24:44 -05:00
|
|
|
ctree : $(objects)
|
|
|
|
gcc $(CFLAGS) -o ctree $(objects)
|
2007-01-26 16:38:42 -05:00
|
|
|
|
2007-02-24 06:24:44 -05:00
|
|
|
$(objects) : $(headers)
|
|
|
|
|
|
|
|
clean :
|
2007-02-02 09:18:22 -05:00
|
|
|
rm ctree *.o
|
2007-01-26 16:38:42 -05:00
|
|
|
|