Commit 4c6f3ce8 authored by Filippos Giannakos's avatar Filippos Giannakos

Fix TOPDIR export in base.mk

parent b5082da8
......@@ -48,8 +48,8 @@ ifndef CSTD
export CSTD=-std=gnu99 -pedantic
endif
ifeq (,$(VERSION))
export TOPDIR=$(shell dirname $(CURDIR))
ifeq (,$(VERSION))
export VERSION=$(shell cat $(TOPDIR)/version)
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment