aboutsummaryrefslogtreecommitdiffhomepage
path: root/midimonster.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-11-07 18:44:19 +0100
committercbdev <cb@cbcdn.com>2019-11-07 18:44:19 +0100
commit350f0d2d2eaff5f0d57b09857102e2df1e96d733 (patch)
treefe81a48535d700195034e9173018c9a9a63d02d0 /midimonster.h
parent6c75f07260639fd2bc6d328d5f00c72ab4382fa8 (diff)
downloadmidimonster-350f0d2d2eaff5f0d57b09857102e2df1e96d733.tar.gz
midimonster-350f0d2d2eaff5f0d57b09857102e2df1e96d733.tar.bz2
midimonster-350f0d2d2eaff5f0d57b09857102e2df1e96d733.zip
Makefile install target and packaging instructions (Fixes #28)
Diffstat (limited to 'midimonster.h')
-rw-r--r--midimonster.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/midimonster.h b/midimonster.h
index 491cc11..b05326c 100644
--- a/midimonster.h
+++ b/midimonster.h
@@ -33,7 +33,18 @@
#include "portability.h"
/* Default configuration file name to read when no other is specified */
-#define DEFAULT_CFG "monster.cfg"
+#ifndef DEFAULT_CFG
+ #define DEFAULT_CFG "monster.cfg"
+#endif
+
+/* Default backend plugin location */
+#ifndef PLUGINS
+ #ifndef _WIN32
+ #define PLUGINS "./backends/"
+ #else
+ #define PLUGINS "backends\\"
+ #endif
+#endif
/* Forward declare some of the structs so we can use them in each other */
struct _channel_value;