summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.mk2
-rw-r--r--ratatox.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 334081f..a96848a 100644
--- a/config.mk
+++ b/config.mk
@@ -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
diff --git a/ratatox.c b/ratatox.c
index 04627cb..cad3994 100644
--- a/ratatox.c
+++ b/ratatox.c
@@ -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");
}