X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fgrub2%2FMakefile.am;h=2efc7f3ea9654853ea2383404779e7d0d481c217;hp=902f94f331400d65fefbad964c587e37186d9b87;hb=a1fb38f17bfa60aac89d0dd21dd8ccc739d794bf;hpb=fcbb46482c413192756ce865a7336c5638fda6d3 diff --git a/discover/grub2/Makefile.am b/discover/grub2/Makefile.am index 902f94f..2efc7f3 100644 --- a/discover/grub2/Makefile.am +++ b/discover/grub2/Makefile.am @@ -38,7 +38,9 @@ grub2_parser_ro_SOURCES = \ script.c \ parser.c -BUILT_SOURCES = parser.h lexer.h +BUILT_SOURCES = parser.h lexer.h lexer.c lexer.h +CLEANFILES = lexer.c lexer.h +MAINTAINERCLEANFILES = Makefile.in # ylwrap doesn't handle flex header files well; use our own rule here. lexer.h lexer.c: lexer.l @@ -46,4 +48,3 @@ lexer.h lexer.c: lexer.l lexer.o: CFLAGS+=-Wno-unused-parameter -Wno-missing-prototypes \ -Wno-missing-declarations -