espressomd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ESPResSo-devel] Re: gnu autotools


From: Yang Ye
Subject: [ESPResSo-devel] Re: gnu autotools
Date: Sun, 04 Nov 2007 00:30:27 +0800
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Hi, Olaf

I have added the two files e.g., foo.c and foo.h to the Espresso_bin_SOURCES in Makefile-am.am and runned ./autogen.

make has then notified me about unable to make target for foo.o because it tries to call
gcc foo.o -o foo.o

The first foo.o shall be foo.c. Is there anything else that I need to change for it to work?

Regards,
Yang Ye

On 11/3/2007 4:43 AM, Olaf Lenz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Hello!

I would like know how the developers have generated the configure and
makefile with GNU autotools.

I have included additional commands into the program and hope the
makefile could include additional C source file.

For the future, please use one of ESPResSo's mailing lists for this kind
of questions:

        https://fias.uni-frankfurt.de/mailman/listinfo/espresso
        https://fias.uni-frankfurt.de/mailman/listinfo/espresso-devel

The build system is sparsely documented in the developer's guide, which
you can find in the subdirectory doc/dg/ of the CVS version or any
recent ESPResSo distribution.

The short answer is: You will have to add your file to "Makefile-am.am"
and run "autogen.sh". Afterwards, you can use configure and make as usual.

Cheers
        Olaf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHK4uftQ3riQ3oo/oRAxBCAJ4pFDs9Ztw0bmw91mTKZmwbBgVojQCcDy/a
ap7li2VwDCF1BPltWPjyxtI=
=DHMQ
-----END PGP SIGNATURE-----






reply via email to

[Prev in Thread] Current Thread [Next in Thread]