From: Frank Mori Hess Date: Wed, 24 Dec 2003 15:40:31 +0000 (+0000) Subject: fix possibility of incorrect bison invocation, when make tries to X-Git-Tag: r0_7_22~107 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c5028f969908bee282b7229d393e5cac47a8f866;p=comedilib.git fix possibility of incorrect bison invocation, when make tries to make calib_yacc.h before calib_yacc.c --- diff --git a/lib/Makefile.am b/lib/Makefile.am index 75c1116..5ff09c6 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -18,7 +18,7 @@ libcomedi_la_CFLAGS = $(COMEDILIB_CFLAGS) -D_REENTRANT -DLOCALSTATEDIR=\"\$(loca libcomedi_la_LDFLAGS = -release $(VERSION) -Wl,--version-script=$(srcdir)/version_script calib_yacc.c + calib_yacc.h: $(srcdir)/calib_yacc.y - $(YACC) -d -p calib_yy -o $@ $< + $(YACC) -d -p calib_yy -o calib_yacc.c $< calib_lex.c: $(srcdir)/calib_lex.l $(LEX) -Pcalib_yy -o$@ $<