diff --git a/Makefile b/Makefile
index f64978809d892103058ebcb91396d5451c9e6d83..a46bbc42a8fc130eff64566ae669719ccc89fec6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 all: Quadra.exe
 
-Quadra.exe: libbusca.a
+Quadra.exe: libbusca.a log.txt
 	gcc Quadra.c -I./ -L./ -lbusca -o Quadra.exe -w -g
 
 libbusca.a: busca.o
@@ -9,5 +9,8 @@ libbusca.a: busca.o
 busca.o:
 	gcc -c busca.c -o busca.o
 
+log.txt:
+	echo >log.txt
+
 clean:
 	rm *.o *.a *.exe log.txt