Makefile: silence fixup
authorJens Axboe <axboe@fb.com>
Mon, 29 Sep 2014 21:06:52 +0000 (15:06 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 29 Sep 2014 21:06:52 +0000 (15:06 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
Makefile

index 7f55228..6bdd142 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -275,11 +275,16 @@ y.tab.c: exp/expression-parser.y
        $(QUIET_CC)$(YACC) -d exp/expression-parser.y
 
 y.tab.h: y.tab.c exp/fixup-buggy-yacc-output
-       exp/fixup-buggy-yacc-output $@
+       @exp/fixup-buggy-yacc-output $@
 
 lex.yy.c: exp/expression-parser.l
        $(QUIET_CC)$(LEX) exp/expression-parser.l
 
+exp/fixup-buggy-yacc-output.o: exp/fixup-buggy-yacc-output.c
+       $(QUIET_CC)$(CC) -o $@ $(CFLAGS) $(CPPFLAGS) -c $<
+exp/fixup-buggy-yacc-output: exp/fixup-buggy-yacc-output.o
+       $(QUIET_LINK)$(CC) $(LDFLAGS) $(CFLAGS) $< -o $@
+
 exp/test-expression-parser.o: exp/test-expression-parser.c
        $(QUIET_CC)$(CC) -o $@ $(CFLAGS) $(CPPFLAGS) -c $<
 exp/test-expression-parser: exp/test-expression-parser.o