Changeset ef87ee for util/src/GetPdb.c


Ignore:
Timestamp:
Dec 16, 2009, 11:47:47 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
35f733, 59b9dd
Parents:
02911f
Message:

Added versioning to each executable.

  • credits to Ralf Wildenhues for writing the Makefile.am code
  • version.c section added to Makefile.am (pcp, molecuilder and util)
  • src/version.h to each pcp, molecuilder and util
  • each of the executables includes version.h and prints version in main()

Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • util/src/GetPdb.c

    r02911f ref87ee  
    1010#include<stdio.h>
    1111#include<math.h>
     12
    1213#include"mergesort.h"
     14#include "version.h"
     15
    1316struct Coord {
    1417  double coord[3];
     
    2831  double center[3][2] = {{0.,0.},{0.,0.},{0.,0.}};
    2932  double Bohr = 0.52919;
     33
     34  fprintf(stdout, "%s\n", ESPACKVersion);
     35
    3036  sequence = (struct Coord **)
    3137    malloc(sizeof(struct Coord*)*max);
Note: See TracChangeset for help on using the changeset viewer.