This program Outputs SAS/C AMIGADATE and DICE COMMODORE_DATE style date string
This is most useful in Makefiles, where one can define preprocessor strings.
GNUMakefile example:
#
# Amigadate GNUMakefile example. (You must have amigadate compiled by now ;D)
#
AMIGADATE= $(shell amigadate)
MAKE= gmake
CC= gcc
CFLAGS= -v -O2 -D__AMIGADATE__='"$(AMIGADATE)"'
LFLAGS= -nostdlib -s
AmigaDate: amigadate.c
$(CC) $(LFLAGS) -o $ amigadate.c
#EOF
This program is re-entrant and can be made resident. Perhaps the easiest way
to do this is to enter `protect amigadate +H' but this may not work with
future OSses.
Tomi Ollila
toocardhu.cs.hut.fi