diff --git a/Makefile b/Makefile
index fc9e6f9ec86610c5a4e52ec07e3fe82f9cb7d24b..69f450de409f8481315f5d7a8761eb053554ba42 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ CFLAGS=-Wall -Wextra -ansi -g -lm -std=c99
 stackchess :  main.o tableau.o affichage.o action.o deplacement.o
 	cd obj && $(CC) $(CFLAGS) $^ -o ../build/$@
 
-all: stackchess stackchess32.exe stackchess64.exe
+all: stackchess stackchess32.exe stackchess64.exe clean
 
 affichage.o : src/affichage.c src/affichage.h src/couleur.h 
 	$(CC) $(CFLAGS) -c $< -o ./obj/$@
@@ -30,4 +30,7 @@ stackchess32.exe :  main32.o tableau32.o affichage32.o action32.o deplacement32.
 	cd obj && $(WIN32) $(CFLAGS) $^ -o ../build/$@
 
 stackchess64.exe : main64.o tableau64.o affichage64.o action64.o deplacement64.o
-	cd obj && $(WIN64) $(CFLAGS) $^ -o ../build/$@
\ No newline at end of file
+	cd obj && $(WIN64) $(CFLAGS) $^ -o ../build/$@
+
+clean :
+	cd obj && rm *.o
\ No newline at end of file
diff --git a/build/stackchess32.exe b/build/stackchess32.exe
index 0c4484d2d709c1396059b9f3e9f815ba016ae3e9..b43378ac450cb1e626bdd5c206010a05443e5aa0 100755
Binary files a/build/stackchess32.exe and b/build/stackchess32.exe differ
diff --git a/build/stackchess64.exe b/build/stackchess64.exe
index b3f045d8e29ff4922633a4b7e1e417a2c6d17a1e..cdfa6db91b065775f2eb8fbaf4dd41a2586523c0 100755
Binary files a/build/stackchess64.exe and b/build/stackchess64.exe differ
diff --git a/obj/affichage.o b/obj/affichage.o
deleted file mode 100644
index faa65d65fa41cdf03b03ea603f33d8c677ea8f34..0000000000000000000000000000000000000000
Binary files a/obj/affichage.o and /dev/null differ
diff --git a/obj/main.o b/obj/main.o
deleted file mode 100644
index b16deefae9bb0e12a5cdf3a41140ef1300ed0a19..0000000000000000000000000000000000000000
Binary files a/obj/main.o and /dev/null differ
diff --git a/obj/tableau.o b/obj/tableau.o
deleted file mode 100644
index a6448a2231a5129c1b5c2859fb54906ffa6b8d11..0000000000000000000000000000000000000000
Binary files a/obj/tableau.o and /dev/null differ