all: src doc testing

work: povray3D

src:
	$(MAKE) -C src

doc:
	doxygen > Doxylogs

testing:
	$(MAKE) -C src/test/

compute: src
	./main

povray3D: compute
	$(MAKE) -C povray/


.PHONY: clean src doc
clean:
	$(MAKE) -C src clean
	$(MAKE) -C doc clean
	$(MAKE) -C src/test clean
	#Clean the work that bin has done
	#Work only if the bin is at the root of the projet
	rm -f graphs/*.jpeg
	rm -f graphs/*.dat
	#Clean the logs of doxygen
	rm -f Doxylogs
