scripts/genksyms: clean lex/yacc generated files
authorFernando Luis Vázquez Cao <fernando@oss.ntt.co.jp>
Mon, 12 Dec 2011 03:17:21 +0000 (12:17 +0900)
committerMichal Marek <mmarek@suse.cz>
Sun, 8 Jan 2012 13:48:15 +0000 (14:48 +0100)
Add "keywords.hash.c", "lex.lex.c", "parse.tab.c" and "parse.tab.h" to
clean-list so that they get automagically deleted at clean/mrproper
time.

Signed-off-by: Fernando Luis Vazquez Cao<fernando@oss.ntt.co.jp>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/genksyms/Makefile

index a5510903e874a35a5cbb238e1eb50a7b82746fd6..aca33b98bf634b269b9857f5bc08d2e315f5f8d3 100644 (file)
@@ -11,3 +11,4 @@ HOSTCFLAGS_lex.lex.o := -I$(src)
 # dependencies on generated files need to be listed explicitly
 $(obj)/lex.lex.o: $(obj)/keywords.hash.c $(obj)/parse.tab.h
 
+clean-files    := keywords.hash.c lex.lex.c parse.tab.c parse.tab.h