blob: e64bbc70995776b18d4414747b6cfa2c679e4321 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
diff --git a/engine/Makefile b/engine/Makefile
index da42f79..83fd006 100644
--- a/engine/Makefile
+++ b/engine/Makefile
@@ -36,7 +36,7 @@ else
ifeq ($(os),Linux)
R_HOME = /usr/lib/R
INCLUDES += -I/usr/share/R/include
- LIBS = -L$(R_HOME)/library/RInside/lib -L$(R_HOME)/site-library/RInside/lib \
+ LIBS = -L$(R_HOME)/library/RInside/lib -L$(R_HOME)/site-library/RInside/lib -L$(R_HOME)/lib \
-lboost_filesystem \
-lboost_system \
-lpthread \
@@ -53,12 +53,13 @@ endif
endif
INCLUDES += \
+ -I/usr/include/R \
-I$(SRCDIR)/../../include \
-I$(SRCDIR)/../../../include \
-I$(SRCDIR)/../server/jamovi/common \
-I$(R_HOME)/include \
-I$(R_HOME)/library/RInside/include -I$(R_HOME)/site-library/RInside/include \
- -I$(R_HOME)/library/Rcpp/include -I$(R_HOME)/site-library/Rcpp/include
+ -I$(R_HOME)/library/Rcpp/include -I$(R_HOME)/site-library/Rcpp/include
LIBS += -lR -lnanomsg -lprotobuf -lRInside
|