fix possibility of incorrect bison invocation, when make tries to
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 24 Dec 2003 15:40:31 +0000 (15:40 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 24 Dec 2003 15:40:31 +0000 (15:40 +0000)
make calib_yacc.h before calib_yacc.c

lib/Makefile.am

index 75c1116710853c4183f78c95952cb809bc5ca268..5ff09c63f84a14359f5fc450622530769f1cf27f 100644 (file)
@@ -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$@ $<