This question shows research effort; it is useful and clear
1
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
如果如果使用,例如
foo_SOURCES = bar.l
然后,automake 通过 flex 文件生成bar.c。但是,如果我提供 prefix AM_LFLAGS=-Psome_prefix,它会生成lex.some_prefix.c,这是其他编译规则所不知道的,所以它会以 . 失败bar.c: No such file or directory。我的错误在哪里,我该如何解决?我真的需要前缀。