From 02cf7b258a0ef48c085754ae7afed68492832848 Mon Sep 17 00:00:00 2001 From: Dean Samuel Schmitz <dean.schmitz@hhu.de> Date: Sun, 7 Aug 2022 23:34:29 +0000 Subject: [PATCH] Update README about the makefile --- Makefile | 2 +- README.md | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9c3508c..d00cad5 100644 --- a/Makefile +++ b/Makefile @@ -2,4 +2,4 @@ splfr=/usr/local/sicstus4.7.1/bin/splfr main.so: main.pl main.cpp $(splfr) -lmlpack -lstdc++ -cxx --struct main.pl main.cpp mlpack-3.4.2/src/mlpack/methods/bayesian_linear_regression/bayesian_linear_regression.cpp clean: - rm main.so \ No newline at end of file + rm main.so diff --git a/README.md b/README.md index b48d4c3..5a2a691 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,22 @@ while running sicstus in the repository or: ``` when running sicstus in a different directory. -## Compile the main file +## Compile the main files with Makefile -To compile the main files with splfr you need to use the following command in the repository folder. +To compile the main files just use __make__ + +if your full path to splfr is not __/usr/local/sicstus4.7.1/bin/splfr__ + +then you will have to exchange this Makefile line with your splfr path. + +``` +splfr=/usr/local/sicstus4.7.1/bin/splfr +``` + + +## Compile the main files manually + +To compile the main files manually with splfr you need to use the following command in the repository folder. The flags -- GitLab