Add skeleton for verification in write path
[archipelago] / xseg / base.mk
index 3e9500a..559dc9a 100644 (file)
@@ -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
 
@@ -57,6 +57,7 @@ ifeq (,$(DESTDIR))
 export DESTDIR=/
 endif
 
+
 bindir=/usr/bin/
 libdir=/usr/lib/
 pythondir=/usr/lib/python2.7/