Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Automake question

0 views
Skip to first unread message

jarek

unread,
Apr 6, 2010, 5:33:29 AM4/6/10
to
Hi!

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

Ben Bacarisse

unread,
Apr 6, 2010, 12:07:34 PM4/6/10
to
jarek <ja...@nospam.pl> writes:

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.

0 new messages