From: ceriel Date: Mon, 29 May 1989 11:17:40 +0000 (+0000) Subject: Added version number to binary X-Git-Tag: release-5-5~2419 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=aaea7524235512b93474ab99cb016c4a243f2f7b;p=ack.git Added version number to binary --- diff --git a/util/cpp/.distr b/util/cpp/.distr index 7815b2be4..a38425ca0 100644 --- a/util/cpp/.distr +++ b/util/cpp/.distr @@ -32,3 +32,4 @@ scan.c skip.c tokenname.c cpp.6 +Version.c diff --git a/util/cpp/Makefile b/util/cpp/Makefile index 77a1814db..49ca7b298 100644 --- a/util/cpp/Makefile +++ b/util/cpp/Makefile @@ -41,10 +41,10 @@ LOBJ = tokenfile.o expression.o Lpars.o # Objects of hand-written C files CSRC = LLlex.c LLmessage.c ch7bin.c ch7mon.c domacro.c \ - error.c idf.c init.c input.c main.c options.c \ + error.c idf.c init.c input.c main.c options.c Version.c \ preprocess.c replace.c scan.c skip.c tokenname.c next.c expr.c COBJ = LLlex.o LLmessage.o ch7bin.o ch7mon.o domacro.o \ - error.o idf.o init.o input.o main.o options.o \ + error.o idf.o init.o input.o main.o options.o Version.o \ preprocess.o replace.o scan.o skip.o tokenname.o next.o expr.o PRFILES = Makefile Parameters \ diff --git a/util/cpp/Version.c b/util/cpp/Version.c new file mode 100644 index 000000000..0a2ab69ac --- /dev/null +++ b/util/cpp/Version.c @@ -0,0 +1,8 @@ +/* $Header$ */ +/* + * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. + * See the copyright notice in the ACK home directory, in the file "Copyright". + */ +#ifndef lint +static char Version[] = "ACK C preprocessor Version 1.3"; +#endif lint