From 6936bfd84b89eacd926133f1a15a2a99565aa44b Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 8 May 2020 20:30:22 -0400 Subject: add license, move version to makefile --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3