diff options
-rw-r--r-- | LICENSE | 14 | ||||
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | miragextract.c | 2 |
3 files changed, 18 insertions, 4 deletions
@@ -0,0 +1,14 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. + @@ -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) diff --git a/miragextract.c b/miragextract.c index fb6b3a3..0eef029 100644 --- a/miragextract.c +++ b/miragextract.c @@ -7,8 +7,6 @@ #include <sndfile.h> #include <mirage/mirage.h> -#define VERSION "0.0.1" - #ifndef PATH_MAX # define PATH_MAX 1024 #endif |