diff --git a/Makefile b/Makefile
index 0b1069ef1dfeab72f286bf387878cd8b973e7777..eee2b2782d8698be8aac08fa7e8810afa51c055b 100644
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,11 @@ bin/Pixel.o: src/Pixel.cpp src/Pixel.h
 bin/Image.o: src/Image.cpp src/Image.h
 	g++ -g -Wall -c src/Image.cpp
 	
+doc: doc/doxyfile
+	cd doc ; doxygen doxyfile
+	
 clean:
-	rm *.o
+	rm -rf obj/* doc/html
 
 veryclean: clean
 	rm *.out
diff --git a/doc/doxyfile b/doc/doxyfile
index 26eb9f123fabc04595d6ebdf162d7931abbeddb6..54bc9221209eea0e46396f4bb0822ddc1b538cd3 100755
--- a/doc/doxyfile
+++ b/doc/doxyfile
@@ -1298,7 +1298,7 @@ GENERATE_HTML          = YES
 # The default directory is: html.
 # This tag requires that the tag GENERATE_HTML is set to YES.
 
-HTML_OUTPUT            = html
+HTML_OUTPUT            = /home/etu/p2301526/LIFAPCD/12311569_12301526/projet-module-imagep-2301526/doc/
 
 # The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
 # generated HTML page (for example: .htm, .php, .asp).