diff options
-rw-r--r-- | README.org | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -23,6 +23,18 @@ To build, run the following commands. $ make -C build #+END_SRC +* Usage + +See examples in the /examples/ directory. You can build and run them, +for example, using the following commands. /pre-inst-env/ is a shell +wrapper that sets the necessary environment variables so that headers +and dynamic libraries are found correctly. + +#+BEGIN_SRC shell + $ ./build/pre-inst-env gcc -lgsl -lgslcblas -lnsmc examples/generate-cone-vector.c -o generate-cone-vector + $ ./build/pre-inst-env ./generate-cone-vector +#+END_SRC + * License The source code is free software released under the terms of the [[https://www.gnu.org/licenses/gpl.html][GNU |