aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-05-08 20:30:22 -0400
committerB. Watson <yalhcru@gmail.com>2020-05-08 20:30:22 -0400
commit6936bfd84b89eacd926133f1a15a2a99565aa44b (patch)
treeae29f0e30fc07d5dec3d7497e63f72d94c63462c /Makefile
parente7c665d3c43fcad0f2e3f893b633f44c8fb18a38 (diff)
downloadmiragextract-6936bfd84b89eacd926133f1a15a2a99565aa44b.tar.gz
add license, move version to makefile
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)