Project

General

Profile

added new command to cdo

Added by Mark Savenije almost 10 years ago

Hi,

Today I managed to add a new command to cdo. For that I added a a new routine to an existing source file and added some lines to modules.c and it works! Better is to add a new source file however. I added the source to Makefile.am and there is were I got stuck. How to generate a new Makefile.in, and later a Makefile? Simply running configure did not update the Makefile.in. Perhaps one of the developers can show how to do the update of Makefile.in (in the src directory I mean). Thanks for your help.

Mark


Replies (1)

RE: added new command to cdo - Added by Uwe Schulzweida almost 10 years ago

Hi Mark,

You have to run automake in the CDO root directory. This will generate Makefile.in for configure from Makefile.am. CDO needs automake version 1.14.
automake will automatically called from make if you configure CDO with the option --enable-maintainer-mode.

Cheers,
Uwe

    (1-1/1)