summaryrefslogtreecommitdiff
path: root/aoview/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'aoview/Makefile')
-rw-r--r--aoview/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/aoview/Makefile b/aoview/Makefile
index 253a160e..8f9c08df 100644
--- a/aoview/Makefile
+++ b/aoview/Makefile
@@ -1,7 +1,8 @@
+VERSION=$(shell git describe)
MODULES=gtk+-2.0 libglade-2.0 gconf-2.0
INCLUDES=$(shell pkg-config --cflags $(MODULES)) -I..
WARN= -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing
-CFLAGS=$(INCLUDES) -O0 -g $(WARN)
+CFLAGS=$(INCLUDES) -O0 -g $(WARN) -DAOVIEW_VERSION='"$(VERSION)"'
LIBS=$(shell pkg-config --libs $(MODULES)) -lm
SRC = \