diff options
author | sin <sin@2f30.org> | 2014-09-15 20:47:40 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-09-15 20:47:40 +0100 |
commit | e00e05d555e3fa031dead6751506aeeba86eb3ed (patch) | |
tree | b20cf5401a837d20583e9e100477737514ee2ce5 | |
parent | d1fb7fe56044bfc7b628d084c9f19ee44ef00aa2 (diff) |
Pass -DVERSION=\"${VERSION}\" and use that when printing the rat
-rw-r--r-- | config.mk | 2 | ||||
-rw-r--r-- | ratatox.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -7,6 +7,6 @@ MANPREFIX = $(PREFIX)/share/man CC = cc LD = $(CC) -CPPFLAGS = +CPPFLAGS = -DVERSION=\"${VERSION}\" CFLAGS = -I/usr/local/include -Wall -Wunused $(CPPFLAGS) LDFLAGS = -L/usr/local/lib -ltoxcore @@ -164,7 +164,7 @@ printrat(void) printf(" \\ / \\,\n"); printf(" `+'( ( \\ )\n"); printf(" // \\ |_./\n"); - printf(" '~' '~----'\tratatox v0.0\n"); + printf(" '~' '~----'\tratatox v"VERSION"\n"); printf("\033[0m"); } |