Move definition of VERSION to Makefile.

pull/3/head
Jonathan Moore Liles 2008-02-13 10:10:41 -06:00
parent 81fe5efb53
commit 7b75e2b425
2 changed files with 4 additions and 5 deletions

View File

@ -9,12 +9,15 @@ SYSTEM_PATH=$(PREFIX)/share/non-sequencer/
DOCUMENT_PATH=$(PREFIX)/share/doc/non-sequencer/
USE_LASH=1
VERSION=1.9.0
# Debugging
CFLAGS:=-O0 -ggdb -fno-omit-frame-pointer -Wall
# Production
# CFLAGS:=-O3 -fomit-frame-pointer -DNDEBUG
CFLAGS+=-DINSTALL_PREFIX=\"$(PREFIX)\" \
CFLAGS+=-DVERSION=\"$(VERSION)\" \
-DINSTALL_PREFIX=\"$(PREFIX)\" \
-DSYSTEM_PATH=\"$(SYSTEM_PATH)\" \
-DDOCUMENT_PATH=\"$(DOCUMENT_PATH)\"

View File

@ -34,12 +34,8 @@ const char APP_TITLE[] = "The Non-Sequencer";
const char COPYRIGHT[] = "Copyright (c) 2007-2008 Jonathan Moore Liles";
#define PACKAGE "non"
#define VERSION "1.9.0"
/* directories */
// #define SYSTEM_PATH INSTALL_PREFIX "share/non-sequencer/"
// #define DOCUMENT_PATH INSTALL_PREFIX "share/doc/non-sequencer/"
#define USER_CONFIG_DIR ".non/"
#define INSTRUMENT_DIR "instruments/"