automake: adding new file type
From: Fumisky Wells (ttn3w7u2fs@mx6.ttcn.ne.jp)
Date: 04/13/03
- Previous message: Bill Marcum: "Re: noclobber question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Fumisky Wells <ttn3w7u2fs@mx6.ttcn.ne.jp> Date: Mon, 14 Apr 2003 00:24:05 +0900
Hi all,
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:
>.h.b:
> bgen $< >$@
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?
Best Regards,
Wells
- Previous message: Bill Marcum: "Re: noclobber question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]