Move definition of VERSION to Makefile.
This commit is contained in:
parent
81fe5efb53
commit
7b75e2b425
5
Makefile
5
Makefile
|
@ -9,12 +9,15 @@ SYSTEM_PATH=$(PREFIX)/share/non-sequencer/
|
||||||
DOCUMENT_PATH=$(PREFIX)/share/doc/non-sequencer/
|
DOCUMENT_PATH=$(PREFIX)/share/doc/non-sequencer/
|
||||||
USE_LASH=1
|
USE_LASH=1
|
||||||
|
|
||||||
|
VERSION=1.9.0
|
||||||
|
|
||||||
# Debugging
|
# Debugging
|
||||||
CFLAGS:=-O0 -ggdb -fno-omit-frame-pointer -Wall
|
CFLAGS:=-O0 -ggdb -fno-omit-frame-pointer -Wall
|
||||||
# Production
|
# Production
|
||||||
# CFLAGS:=-O3 -fomit-frame-pointer -DNDEBUG
|
# CFLAGS:=-O3 -fomit-frame-pointer -DNDEBUG
|
||||||
|
|
||||||
CFLAGS+=-DINSTALL_PREFIX=\"$(PREFIX)\" \
|
CFLAGS+=-DVERSION=\"$(VERSION)\" \
|
||||||
|
-DINSTALL_PREFIX=\"$(PREFIX)\" \
|
||||||
-DSYSTEM_PATH=\"$(SYSTEM_PATH)\" \
|
-DSYSTEM_PATH=\"$(SYSTEM_PATH)\" \
|
||||||
-DDOCUMENT_PATH=\"$(DOCUMENT_PATH)\"
|
-DDOCUMENT_PATH=\"$(DOCUMENT_PATH)\"
|
||||||
|
|
||||||
|
|
4
const.h
4
const.h
|
@ -34,12 +34,8 @@ const char APP_TITLE[] = "The Non-Sequencer";
|
||||||
const char COPYRIGHT[] = "Copyright (c) 2007-2008 Jonathan Moore Liles";
|
const char COPYRIGHT[] = "Copyright (c) 2007-2008 Jonathan Moore Liles";
|
||||||
|
|
||||||
#define PACKAGE "non"
|
#define PACKAGE "non"
|
||||||
#define VERSION "1.9.0"
|
|
||||||
|
|
||||||
/* directories */
|
/* directories */
|
||||||
|
|
||||||
// #define SYSTEM_PATH INSTALL_PREFIX "share/non-sequencer/"
|
|
||||||
// #define DOCUMENT_PATH INSTALL_PREFIX "share/doc/non-sequencer/"
|
|
||||||
|
|
||||||
#define USER_CONFIG_DIR ".non/"
|
#define USER_CONFIG_DIR ".non/"
|
||||||
#define INSTRUMENT_DIR "instruments/"
|
#define INSTRUMENT_DIR "instruments/"
|
||||||
|
|
Loading…
Reference in New Issue