diff --git a/Makefile b/Makefile index 9c3508cde89c8b0f6f650ad7a4e91b23fc3cd21f..d00cad509311850e2bd6d4e476b14b6b336c50ac 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 b48d4c3795cac03486833d88e21400aa39fad78b..5a2a691cbc9d8bc5e8e8efa76864728bce647840 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