[gmx-developers] Patches to fix detection of dirent.h and to fix breackeg introduced by copyright.c and version.h update

hess at sbc.su.se hess at sbc.su.se
Thu Feb 18 14:56:11 CET 2010


Hi,

Makefiles are not my expertise.

My problem was that version.h was not built when copyright.c was compiled.
I guess because first the .lo file is built and the the .o file
and the depencency was only for .o.

Berk

> Hi,
>
> On Thu, Feb 18, 2010 at 13:50, Alexey Shvetsov <alexxyum at gmail.com> wrote:
>> Here attached to fix breackage in gmxlib introduced by update of
>> copyright.c and version.h
>
> What was exactly the problem? Whatever it was, the proposed patch
> isn't correct: copyrite.c is a source file, and nothing is done to it
> during the build process, so dependencies for it are close to
> pointless. version.h really is a dependency of the object file, not
> the source file! Perhaps what was meant was a dependency like
> "copyrite.$(OBJEXT): version.h" (perhaps $(OBJEXT) is not o in your
> build), or maybe "BUILT_SOURCES: version.h"?
>
> Teemu
> --
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-developers-request at gromacs.org.
>




More information about the gromacs.org_gmx-developers mailing list