summaryrefslogtreecommitdiff
path: root/aoview/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-05-17 23:05:23 -0700
committerKeith Packard <keithp@keithp.com>2009-05-17 23:05:23 -0700
commit26361686d6fc63dc22d22285f0543c5c2c756fb4 (patch)
treef7fe8b9b3a857eb97a83da7b7f611e3dac0a4eec /aoview/Makefile
parent0f3233c49f43cd4e372e613303919ce4d50255b2 (diff)
Add About dialog to aoview.
Signed-off-by: Keith Packard <keithp@keithp.com>
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 = \