
# To compile this on Debian please install libgc-dev for garbage collector.

# "gc" garbage collector, "rt" to read nanoseconds
CFLAGS=--std=gnu99 --pedantic -Wall -Wextra -Dfgetc=fgetc_unlocked -Dfputc=fputc_unlocked -Dfeof=feof_unlocked -Dferror=ferror_unlocked -DVERSION="\"2011-10\"" -lm -lgc -lrt 

treep: main.c data.c core.c tree.c
	gcc $(CFLAGS) -o treep main.c data.c core.c tree.c 

test: 
	cd test.d && ./make_tests . 

indent: 
	indent -kr -i8 -ut -l0 *.c *.h
	rm *.c~ *.h~

