I have a c/c++ project where I'm using .cpp files generated by esnacc
from .asn files.
In Makefile.am have:
---------------------------------
AM_CFLAGS = -Wall -g
bin_PROGRAMS = myprog
myprog_SOURCES = main.cpp protocol.h protocol.cpp
myprog_CPPFLAGS = -I/usr/local/include/esnacc/c++
myprog_LDADD = -lc++asn1
----------------------------------
To create protocol.h and protocol.cpp a have to issue:
esnacc -C protocol.asn
How can I write Makefile.am to do it automatically ?
Best regards
Jarek
You are in the wrong group. I'd suggest posting in comp.unix.programmer
since this is an automake question, but there may be even better groups
with a closer match to what you want to know.
--
Ben.