build: have config-clean deal with old temp files
[openwrt/staging/luka.git] / scripts / config / Makefile
index eb55b759a8157d996bf8ee4b637a0aa625d9b0fa..d98f15c393779dbdb8f8e63e976402d32ab3c8c8 100644 (file)
@@ -7,7 +7,10 @@ all: conf mconf
 clean:
        rm -f *.o lxdialog/*.o *.moc $(clean-files) conf mconf qconf
 
-clean-files    :=
+# This clean-files definition is here to ensure that temporary files from the
+# previous version are removed by make config-clean.
+# It should be removed or emptied when this Makefile get updated again.
+clean-files    := zconf.tab.c zconf.lex.c zconf.hash.c .tmp_qtcheck
 
 # ===========================================================================
 # Variables needed by the upstream Makefile