Not quite the same format as for the kernel, but I want to do the normal
"edit the makefile before making a release" model that I'm used to.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
+VERSION=1.0
+
CC=gcc
CFLAGS=-Wall -Wno-pointer-sign -g
INSTALL=install
gtk-gui.o: gtk-gui.c dive.h display.h divelist.h display-gtk.h libdivecomputer.h
$(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0 glib-2.0 gconf-2.0` \
-I$(LIBDIVECOMPUTERINCLUDES) \
+ -DVERSION_STRING='"v$(VERSION)"' \
-c gtk-gui.c
uemis.o: uemis.c uemis.h
"program-name", "SubSurface",
"comments", "Half-arsed divelog software in C",
"license", "GPLv2",
- "version", "1.0",
+ "version", VERSION_STRING,
"copyright", "Linus Torvalds 2011",
/* Must be last: */
logo_property, logo,