summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorRudy Dellomas III <rdellomasiii@outlook.com>2021-02-16 19:46:46 +1000
committerRudy Dellomas III <rdellomasiii@outlook.com>2021-02-16 19:46:46 +1000
commit4e032370e60f80de962fc9f38d2c50a1f4609052 (patch)
treeddc43578961d2ede2ad236e3fc6174d941b8021d /src/Makefile
parent19a92256c29a38e1754c67231141bd22e127f757 (diff)
At @kdkasad's suggestion, added Makefile options
Diffstat (limited to 'src/Makefile')
-rwxr-xr-xsrc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index cf0b5fe..43f328b 100755
--- a/src/Makefile
+++ b/src/Makefile
@@ -13,8 +13,10 @@ MANDIR = $(prefix)/share/man/man1
# This is where the history file go
HISTORY_DIR= .cache
+HISTORY_FILE=sc-iminfo
# This is where the config file go
CONFIG_DIR= .config/sc-im
+CONFIG_FILE=scimrc
# Change these to your liking or use `make CC=gcc` etc
#CC = cc
@@ -37,9 +39,9 @@ CFLAGS += -DDFLT_EDITOR=\"vim\"
# Comment out to disable color support
CFLAGS += -DUSECOLORS
# Command history file, relative to HISTORY_DIR directory. Comment out to disable commandline history
-CFLAGS += -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\"$(HISTORY_DIR)\"
+CFLAGS += -DHISTORY_FILE=\"$(HISTORY_FILE)\" -DHISTORY_DIR=\"$(HISTORY_DIR)\"
# Configuration file, relative to CONFIG_DIR directory
-CFLAGS += -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\"$(CONFIG_DIR)\"
+CFLAGS += -DCONFIG_FILE=\"$(CONFIG_FILE)\" -DCONFIG_DIR=\"$(CONFIG_DIR)\"
# Input mode history. Same as previous, but for insert mode commands
CFLAGS += -DINS_HISTORY_FILE=\"sc-iminfo\"
# Comment out to disable undo/redo support