| |    | 85019 packages online | 
 | 
|  | 
| 
 | 
| dev/c/AmigaDate.lha |  |  | | No screenshot available | 
 |  | 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
too@cardhu.cs.hut.fi
 |  | 
 Contents of dev/c/AmigaDate.lha
  PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  269     332  81.0% -lh5- 8afe Mar 31  1994 AmigaDate
[generic]                 1261    4455  28.3% -lh5- 2a58 Mar 31  1994 amigadate.c
[generic]                  459     782  58.7% -lh5- e6c1 Mar 31  1994 AmigaDate.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    1989    5569  35.7%            Oct 19  1994
 | 
 |  | 
|  | 
| Page generated in 0.02 seconds | 
| Aminet © 1992-2024 Urban 
Müller and the Aminet team.
Aminet contact address: <aminet  aminet net> |