default-target: all
default-target: .PHONY
.PHONY:

all: .PHONY
all: test
	./test

clean: .PHONY
	-rm -f *.core
	-rm -f *.gcda
	-rm -f *.gcno
	-rm -f *.gcov

SRCS_test = test.c cradix.c
test: $(SRCS_test:.c=.o)
	cc -o $@ $(LDFLAGS) $(SRCS_test:.c=.o)
clean: clean-test
clean-test: .PHONY
	-rm -f test
	-rm -f $(SRCS_test:.c=.o)

test.o: cradix.h
cradix.o: cradix.h
