summaryrefslogtreecommitdiff
path: root/core/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Makefile b/core/Makefile
index 73508c1c..f5b9b4e5 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -18,6 +18,9 @@
MAKEFLAGS += -r
MAKE += -r
+topdir = ..
+include $(topdir)/version.mk
+
CC = gcc
TMPFILE = $(shell mktemp /tmp/gcc_ok.XXXXXX)
@@ -43,8 +46,6 @@ NINCLUDE =
PERL = perl
-VERSION := $(shell cat ../version)
-
# This is very similar to cp437; technically it's for Norway and Denmark,
# but it's unlikely the characters that are different will be used in
# filenames by other users.