X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Makefile;h=628f116d7dfeb874aefe1d4918dbea52b77c0f19;hb=5c8305588b9b47805226ee50ffcb069fd9a6b251;hp=e93d03030c0f68ac3a568a3bcc96182078136a61;hpb=1e42dc10e5df52822fff698573cae97b2efb3220;p=ext%2Fsubsurface.git diff --git a/Makefile b/Makefile index e93d030..628f116 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +VERSION=1.0 + CC=gcc CFLAGS=-Wall -Wno-pointer-sign -g INSTALL=install @@ -68,6 +70,7 @@ libdivecomputer.o: libdivecomputer.c dive.h display.h display-gtk.h libdivecompu 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