Browse Source

Move definition of VERSION to Makefile.

tags/non-sequencer-v1.9.4
Jonathan Moore Liles 16 years ago
parent
commit
7b75e2b425
2 changed files with 4 additions and 5 deletions
  1. +4
    -1
      Makefile
  2. +0
    -4
      const.h

+ 4
- 1
Makefile 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)\"



+ 0
- 4
const.h 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/"

Loading…
Cancel
Save