diff --git a/configure b/configure
index 9d0456bb4..ad261a960 100755
--- a/configure
+++ b/configure
@@ -1216,6 +1216,7 @@ echo "	@\$(TOPDIR)/tools/aledoc \$< | \$(DOCIFY) > \$*-h.doc 2>/dev/null" >> $RU
 echo
 echo "Done generating $RULESFILE."
 echo
+$MAKE clean > /dev/null
 echo -n "Would you like to compile it now? (y) "
 read $N ANSWER
 echo
diff --git a/setup b/setup
index d519b1c8f..ddb94bc1b 100755
--- a/setup
+++ b/setup
@@ -970,6 +970,7 @@ echo "	@\$(TOPDIR)/tools/aledoc \$< | \$(DOCIFY) > \$*-h.doc 2>/dev/null" >> $RU
 echo
 echo "Done generating $RULESFILE."
 echo
+$MAKE clean > /dev/null
 echo -n "Would you like to compile it now? (y) "
 read $N ANSWER
 echo