test_r: naht.c test.c Makefile
	gcc -Wall -DTHREAD_SAFE test.c naht.c -o test_r -O3 -lpthread 

test: naht.c test.c Makefile
	gcc -Wall test.c naht.c -o test -O3 

clean:
	rm -f test test_r 
