Makefile: don't run configure for make clean
[fio.git] / Makefile
index 57f3f82ea35fe1430ce9706c546dc506723713d6..3de97354b8be2b3eb7c221ea573630003134b6a6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,10 @@ config-host-mak: configure
        @sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh
 else
 config-host.mak:
+ifneq ($(MAKECMDGOALS),clean)
        @echo "Running configure for you..."
        @./configure
+endif
 all:
 include config-host.mak
 endif