Add quotes around APPVERSION to avoid issues when it has spaces.

Change-Id: If281c0e37f56f81cb5dd57e264f82fb32bc08d3b
This commit is contained in:
Frank Gevaerts 2012-07-27 14:54:04 +02:00
parent 132fcca4b2
commit 9a84bcfe4b

View file

@ -24,7 +24,7 @@ TOP := $(dir $(lastword $(MAKEFILE_LIST)))
# overwrite for releases
APPVERSION ?= $(shell $(TOP)/../tools/version.sh ../)
CFLAGS += -DVERSION=\"$(APPVERSION)\"
CFLAGS += -DVERSION=\""$(APPVERSION)"\"
TARGET_DIR ?= $(shell pwd)/
# use POSIX/C99 printf on windows