aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 22766e5..b8d2171 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,9 @@ RST2HTML=rst2html4.py
# Hopefully, no user-serviceable parts below this line.
PROJ=miragextract
-DOCS=README FAQ ChangeLog $(PROJ).html
+VERSION=0.0.1
+
+DOCS=README FAQ ChangeLog LICENSE $(PROJ).html
SNDFILE_CFLAGS:=$(shell pkg-config --cflags sndfile)
SNDFILE_LIBS:=$(shell pkg-config --libs sndfile)
@@ -45,7 +47,7 @@ SNDFILE_LIBS:=$(shell pkg-config --libs sndfile)
MIRAGE_CFLAGS:=$(shell pkg-config --cflags libmirage)
MIRAGE_LIBS:=$(shell pkg-config --libs libmirage)
-CFLAGS=-Wall $(OPTFLAGS) $(MIRAGE_CFLAGS) $(SNDFILE_CFLAGS)
+CFLAGS=-Wall $(OPTFLAGS) $(MIRAGE_CFLAGS) $(SNDFILE_CFLAGS) -DVERSION=\"$(VERSION)\"
LDFLAGS=$(MIRAGE_LIBS) $(SNDFILE_LIBS)$ $(LDEXTRA)
all: $(PROJ)