Makefile:

- extract appending of the rez fork into a higher level *.mk file
liby.rez:
	- add in the build date automatically
This commit is contained in:
gdr-ftp 1998-02-15 19:14:25 +00:00
parent bc7e61f040
commit 2188b17ab9
2 changed files with 6 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# #
# This is the makefile for liby, GNO v2.0.6 # This is the makefile for liby, GNO v2.0.6
# #
# $Id: Makefile,v 1.3 1998/02/08 03:47:40 gdr-ftp Exp $ # $Id: Makefile,v 1.4 1998/02/15 19:14:23 gdr-ftp Exp $
# #
LIB = y LIB = y
@ -9,7 +9,3 @@ SRCS = main.c yyerror.c
OPTIMIZE = 78 OPTIMIZE = 78
.INCLUDE: /src/gno/lib/lib.mk .INCLUDE: /src/gno/lib/lib.mk
$(LIBTARGET):: lib$(LIB).r
$(CATREZ) -d $@ lib$(LIB).r

View File

@ -1,13 +1,14 @@
/* /*
* Resources for version and comment * Resources for version and comment
* *
* $Id: liby.rez,v 1.1 1997/10/03 04:45:43 gdr Exp $ * $Id: liby.rez,v 1.2 1998/02/15 19:14:25 gdr-ftp Exp $
*/ */
#define LIB "liby for GNO" #define LIB "liby for GNO"
#define PORTED "Ported from 4.4BSD by Devin Reade." #define PORTED "Ported from 4.4BSD by Devin Reade.\n"
#include "Types.rez" #include "Types.rez"
#include "/src/gno/build.tools/builddate.rez"
/* /*
* Version * Version
@ -19,6 +20,7 @@ resource rVersion (1, purgeable3) {
verUS, /* Country */ verUS, /* Country */
LIB, LIB,
PORTED PORTED
BUILD_DATE
}; };
/* /*
@ -27,4 +29,5 @@ resource rVersion (1, purgeable3) {
resource rComment (1, purgeable3) { resource rComment (1, purgeable3) {
LIB "\n" LIB "\n"
PORTED PORTED
BUILD_DATE
}; };