From 0dfdc25bb27a6cf56f13a1f9a1c1b233d6aab107 Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Fri, 18 Feb 2011 13:50:21 +1300 Subject: Added git info to version output. Fixed memory leak in SWD mode. --- src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index a673939..d9d985e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,7 +8,8 @@ BUILDDATE := `date +"%Y%m%d"` CFLAGS += -Wall -Wextra -Wno-pointer-sign -Wno-char-subscripts\ -O0 -std=gnu99 -g3 -DBUILDDATE=\"$(BUILDDATE)\"\ - -I. -Iinclude -I$(HOST) + -I. -Iinclude -I$(HOST) \ + -DVERSION_SUFFIX=\"`../scripts/setlocalversion`\" SRC = gdb_if.c \ gdb_packet.c \ -- cgit v1.2.3