summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorSerge Y. Stroobandt <serge@stroobandt.com>2017-11-18 12:15:30 +0100
committerGitHub <noreply@github.com>2017-11-18 12:15:30 +0100
commitfe9835e8e723fd3e81d5348b28431aae3a91ba2a (patch)
tree6a342ac8c9a2f695319bbaed94d00f1c980d74a2 /src/Makefile
parent070722299c9cfeb49d96a62b42db969499f3f37d (diff)
Makefile: `xlsxwriter` path for GNU/Linux
On GNU/Linux, `xlsxwriter` will be installed under `/usr/local/include/xlsxwriter.h`
Diffstat (limited to 'src/Makefile')
-rwxr-xr-xsrc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index af7355e..55ae583 100755
--- a/src/Makefile
+++ b/src/Makefile
@@ -77,6 +77,10 @@ ifneq (,$(wildcard /usr/include/xlsxwriter.h))
CFLAGS += -DXLSX_EXPORT
LDLIBS += -lxlsxwriter
endif
+ifneq (,$(wildcard /usr/local/include/xlsxwriter.h))
+ CFLAGS += -DXLSX_EXPORT
+ LDLIBS += -lxlsxwriter
+endif
# Check for gnuplot existance
ifneq (, $(shell which gnuplot))