all:
	gcc *.c -o Astar.x -lm -Wall -O3 

verbose:
	condor_compile gcc *.c -DWRITE_THETA_EVERY_ITERATION -o Astar.condor -lm -Wall -O3 

varN:
	condor_compile gcc *.c -DWRITE_THETA_EVERY_ITERATION -DVAR_N -o Astar_varN.condor -lm -Wall -O3 

debug:
	gcc -DASTAR_DEBUG *.c -lm -Wall -g

printnbest:
	gcc *.c -DPRINT_NBEST -o Astar.printnbest -lm -Wall -g

profile:
	gcc -DASTAR_DEBUG *.c -lm -Wall -g -pg
	# a.out
	# gprof a.out > tmpgprofout

indent:
	indent -kr -i2 -ts0 -l100 *.h
	indent -kr -i2 -ts0 -l100 *.c

clean:
	rm Astar.x gmon.out tmpgprofout
