Makefile
changeset 88 f67b52e42fd1
parent 87 adb773fccc6b
child 96 aa1a9fbd6eb8
     1.1 --- a/Makefile	Sat May 12 09:54:29 2007 +0000
     1.2 +++ b/Makefile	Sun May 13 19:03:49 2007 +0000
     1.3 @@ -4,11 +4,10 @@
     1.4  # Don't print directory as we descend into them
     1.5  MAKEFLAGS += --no-print-directory
     1.6  
     1.7 -# The project version
     1.8 -export PROJECTVERSION=0.0.2-svn
     1.9 +export CT_TOP_DIR=$(shell pwd)
    1.10  
    1.11 -# This should eventually be computed if compiling out-of-tree is implemented
    1.12 -export CT_TOP_DIR=$(shell pwd)
    1.13 +# This is crosstool-ng version string
    1.14 +export CT_VERSION=$(shell cat $(CT_TOP_DIR)/version)
    1.15  
    1.16  .PHONY: all
    1.17  all: build