diff options
Diffstat (limited to 'src/datestamp.c')
-rw-r--r-- | src/datestamp.c | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/src/datestamp.c b/src/datestamp.c new file mode 100644 index 00000000..933c6125 --- /dev/null +++ b/src/datestamp.c @@ -0,0 +1,75 @@ + /*@@ + @file datestamp.c + @date Mon May 11 10:20:58 1998 + @author Paul Walker + @desc + + @enddesc + @@*/ +#include <stdio.h> + +static char *rcsid = "$Id$"; + + /*@@ + @routine datastamp + @date Mon May 11 10:20:58 1998 + @author Paul Walker + @desc + + @enddesc + @calls + @calledby + @history + + @endhistory + +@@*/ +void datestamp() { + printf (" Compiled on %s at %s\n", __DATE__, __TIME__); +} + + /*@@ + @routine compileTime + @date Mon May 11 10:20:58 1998 + @author Paul Walker + @desc + + @enddesc + @calls + @calledby + @history + + @endhistory + +@@*/ +char *compileTime() { + return (__TIME__); +} + + /*@@ + @routine compileDate + @date Mon May 11 10:20:58 1998 + @author Paul Walker + @desc + + @enddesc + @calls + @calledby + @history + + @endhistory + +@@*/ +char *compileDate() { + return (__DATE__); +} + +/*#define MAKETEST*/ +#ifdef MAKETEST +int main() +{ + printf("CCTK maketest compiled on %s\n", compileDate()); + + return 0; +} +#endif |