I have no idea how to add new dependency (file extention is .b, e.g.
file.b), which depends on C++ header file file.h, in Makefile.am?
For example, file.b depends on file.h and the suffix rule is as follows:
File extention ".b" should be new for Automake so that I added the
following at the top of Makefile.am:
>SUFFIXES = .b
Any othe related is as follows:
>bin_PROGRAMS = x
>x_SOURCES = main.cpp file.h file.b
main.cpp includes file.h and file.h includes file.b.
Unfortunately, when I run "make", at the compiling main.cpp, it failes
because file.b doesn't exist. file.b should be generated by bgen
as I tried to define at suffix rule.
Could anyone help me why?