summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Edward Pax <charles.pax@gmail.com>2017-07-21 03:02:11 +0800
committerCharles Edward Pax <charles.pax@gmail.com>2017-07-21 03:02:11 +0800
commit3865feece429a8676f157442ab378a8275c12055 (patch)
treef1f6766fe20620116ad250a3930ef6eb1469cec2
parent991e7575671a71d6082d4cf2bc8f5635fd38c251 (diff)
Removed .gitignore form repo.
-rw-r--r--.gitignore1
-rwxr-xr-xsrc/Makefile14
2 files changed, 7 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 5761abc..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*.o
diff --git a/src/Makefile b/src/Makefile
index bc65db0..82b3ea5 100755
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,8 +1,8 @@
# Specify the name of the resulting executable file
-name = scim
+name = sim
# The base directory where everything should be installed.
-prefix = /usr/local
+prefix = /usr/local/stow/sc-im
EXDIR = $(prefix)/bin
HELPDIR = $(prefix)/share/$(name)
@@ -13,10 +13,10 @@ MANDIR = $(prefix)/share/man/man1
# Change these to your liking or use `make CC=gcc` etc
#CC = cc
-#YACC = bison -y
+YACC = bison -y
#SED = sed
-LDLIBS += -lm
+LDLIBS += -lm -lncursesw -lzip -lxml2
CFLAGS += -Wall -g
CFLAGS += -DNCURSES
@@ -26,7 +26,7 @@ CFLAGS += -DHELP_PATH=\"$(HELPDIR)\"
CFLAGS += -DLIBDIR=\"$(LIBDIR)\"
# Sets default pager, e.g. 'less' or 'more'
-CFLAGS += -DDFLT_PAGER=\"less\"
+CFLAGS += -DDFLT_PAGER=\"pager\"
# Sets default editor. Its use in case EDITOR env variable is not set
CFLAGS += -DDFLT_EDITOR=\"vim\"
# Comment out to disable color support
@@ -74,8 +74,8 @@ endif
# NOTE: libxlsxwriter is required for xlsx file export support
ifneq (,$(wildcard /usr/include/xlsxwriter.h))
- CFLAGS += -DXLSX_EXPORT
- LDLIBS += -lxlsxwriter
+# CFLAGS += -DXLSX_EXPORT
+# LDLIBS += -lxlsxwriter
endif
# Check for gnuplot existance