diff --git a/Makefile b/Makefile
index 91cda80c1b4ff997c53c2ca28e0cdeb282fc07d4..f351f7921ccabc2fbe646f7784b88469ded4b78d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 all:
 	ghdl -a --ieee=synopsys -fexplicit *.vhd
-	ghdl -e --ieee=synopsys -fexplicit TB_MAIN_PROCESSOR
+	ghdl -e --ieee=synopsys -fexplicit tb_main_processor
 	./tb_main_processor --stop-time=300ns --vcd=tb.vcd
 	
 gtk: all
@@ -8,3 +8,4 @@ gtk: all
 
 clean:
 	rm *.o *.cf *.vcd
+	rm tb_main_processor